fix leaks in testcases

This commit is contained in:
rfm 2025-01-09 09:58:13 +00:00
parent 6f7a4d74c2
commit b46439ba15
7 changed files with 15 additions and 10 deletions

View file

@ -6,7 +6,7 @@
int main()
{
NSAutoreleasePool *arp = [NSAutoreleasePool new];
NSMutableSet *testObj = [NSMutableSet new];
NSMutableSet *testObj = [NSMutableSet set];
test_NSObject(@"NSMutableSet", [NSArray arrayWithObject:testObj]);
test_NSCoding([NSArray arrayWithObject:testObj]);
test_NSCopying(@"NSSet",@"NSMutableSet",