fix leak in testcase

This commit is contained in:
rfm 2025-01-10 17:12:34 +00:00
parent efaa5552b3
commit 82a324be09

View file

@ -23,7 +23,7 @@ int main()
command = [helpers stringByAppendingPathComponent: @"doubleNSLock"];
task = AUTORELEASE([[NSTask alloc] init]);
ePipe = [[NSPipe pipe] retain];
ePipe = [NSPipe pipe];
[task setLaunchPath: command];
[task setStandardError: ePipe];
hdl = [ePipe fileHandleForReading];