Created
May 14, 2009 03:47
-
-
Save akio0911/111469 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)methodA | |
{ | |
id obj1; | |
id obj2; | |
id arp; | |
obj1 = [[Foo alloc] init]; | |
obj2 = [[Foo alloc] init]; | |
[obj1 autorelease]; | |
arp = [[NSAutoreleasePool alloc] init]; | |
[obj2 autorelease]; | |
[arp release]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment