mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
Fix leaks
This commit is contained in:
parent
8209fa428f
commit
77c66e3d95
23 changed files with 287 additions and 259 deletions
|
@ -3,8 +3,10 @@
|
|||
#import "ObjectTesting.h"
|
||||
int main()
|
||||
{
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
NSArray *arr = [NSArray arrayWithObject:[NSAttributedString new]];
|
||||
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
||||
NSArray *arr;
|
||||
|
||||
arr = [NSArray arrayWithObject: AUTORELEASE([NSAttributedString new])];
|
||||
|
||||
test_alloc(@"NSAttributedString");
|
||||
test_NSObject(@"NSAttributedString", arr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue