mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
More leak fixes
This commit is contained in:
parent
d68e8be8ee
commit
5b46efa8cd
14 changed files with 65 additions and 55 deletions
|
@ -4,11 +4,11 @@
|
|||
|
||||
int main()
|
||||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
NSArray *testObj = [NSTask new];
|
||||
ENTER_POOL
|
||||
NSArray *testObj = AUTORELEASE([NSTask new]);
|
||||
|
||||
test_NSObject(@"NSTask", [NSArray arrayWithObject:testObj]);
|
||||
test_NSObject(@"NSTask", [NSArray arrayWithObject: testObj]);
|
||||
|
||||
[arp release]; arp = nil;
|
||||
LEAVE_POOL
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue