Changeset 1271

Show
Ignore:
Timestamp:
06/06/10 18:53:05 (2 years ago)
Author:
gbooker
Message:

leak fix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/CommonMediaPlayer/Media Players/MPlayer classes/CMPMPPlayer.m

    r1262 r1271  
    340340        //set outputs 
    341341         
    342         [mpTask setStandardOutput: [[NSPipe alloc] init]]; 
     342        NSPipe *output = [[NSPipe alloc] init]; 
     343        [mpTask setStandardOutput:output]; 
     344        [output release]; 
    343345        [mpTask setStandardError: [mpTask standardOutput]]; 
    344346         
    345347        //set inputs 
    346         [mpTask setStandardInput:[[NSPipe alloc] init]]; 
     348        NSPipe *input = [[NSPipe alloc] init]; 
     349        [mpTask setStandardInput:input]; 
     350        [input release]; 
    347351         
    348352