mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
fix leaks
This commit is contained in:
parent
ce6f8ff6b7
commit
bf90656ab7
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
int main()
|
||||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
id testObject = [NSCountedSet new];
|
||||
id testObject = AUTORELEASE([NSCountedSet new]);
|
||||
test_alloc(@"NSCountedSet");
|
||||
test_NSObject(@"NSCountedSet",[NSArray arrayWithObject:testObject]);
|
||||
test_NSCoding([NSArray arrayWithObject:testObject]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue