fix leaks

This commit is contained in:
rfm 2025-01-08 22:38:13 +00:00
parent ce6f8ff6b7
commit bf90656ab7
2 changed files with 3 additions and 2 deletions

View file

@ -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]);