Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Please explain me about this leak
- 2011-10-13 10:41:44.504 Provision[386:6003] *** __NSAutoreleaseNoPool(): Object 0x4e0ef40 of class CABasicAnimation autoreleased with no pool in place - just leaking
- 2011-10-13 10:41:44.505 Provision[386:6003] *** __NSAutoreleaseNoPool(): Object 0x4b03700 of class NSConcreteValue autoreleased with no pool in place - just leaking
- 2011-10-13 10:41:44.506 Provision[386:6003] *** __NSAutoreleaseNoPool(): Object 0x4b04840 of class __NSCFDictionary autoreleased with no pool in place - just leaking
- CGRect newFrame = [viewTop frame];
- newFrame.origin.x = 0;
- newFrame.origin.y = 0;
- [UIView beginAnimations:@"nil1" context:nil];
- [UIView setAnimationDuration:0.3f];
- [viewTop setFrame:newFrame];
- [UIView commitAnimations];
- @"string text"
- [NSMutableArray arrayWithCapacity: 42]
- [someObject autorelease]
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- NSObject *myObject = [[NSObject alloc] init]; // some object
- [myObject autorelease]; // send autorelease message
- [pool release]; // myArray is released here!
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- CGRect newFrame = [viewTop frame];
- newFrame.origin.x = 0;
- newFrame.origin.y = 0;
- [UIView beginAnimations:@"nil1" context:nil];
- [UIView setAnimationDuration:0.3f];
- [viewTop setFrame:newFrame];
- [UIView commitAnimations];
- [pool release];
Add Comment
Please, Sign In to add comment