Fix leaks

This commit is contained in:
rfm 2024-11-15 20:48:09 +00:00
parent 8209fa428f
commit 77c66e3d95
23 changed files with 287 additions and 259 deletions

View file

@ -16,7 +16,7 @@ int main()
NSInteger length;
NSString *hello = @"hello";
NSString *uppercaseHello;
NSOperationQueue *queue = [NSOperationQueue new];
NSOperationQueue *queue = AUTORELEASE([NSOperationQueue new]);
op = [[NSInvocationOperation alloc] initWithTarget: hello
selector: @selector(length)