mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix leak in test
This commit is contained in:
parent
b46439ba15
commit
268fa1c57d
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ int main()
|
|||
NSData *data = [stringData dataUsingEncoding: NSUTF8StringEncoding];
|
||||
NSMutableSet *testSet;
|
||||
|
||||
testObj = [NSOrderedSet new];
|
||||
testObj = AUTORELEASE([NSOrderedSet new]);
|
||||
[testObjs addObject: testObj];
|
||||
PASS(testObj != nil && [testObj count] == 0,
|
||||
"can create an empty ordered set");
|
||||
|
|
Loading…
Reference in a new issue