mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
fix leak in testcase
This commit is contained in:
parent
efaa5552b3
commit
82a324be09
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ int main()
|
||||||
|
|
||||||
command = [helpers stringByAppendingPathComponent: @"doubleNSLock"];
|
command = [helpers stringByAppendingPathComponent: @"doubleNSLock"];
|
||||||
task = AUTORELEASE([[NSTask alloc] init]);
|
task = AUTORELEASE([[NSTask alloc] init]);
|
||||||
ePipe = [[NSPipe pipe] retain];
|
ePipe = [NSPipe pipe];
|
||||||
[task setLaunchPath: command];
|
[task setLaunchPath: command];
|
||||||
[task setStandardError: ePipe];
|
[task setStandardError: ePipe];
|
||||||
hdl = [ePipe fileHandleForReading];
|
hdl = [ePipe fileHandleForReading];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue