| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Saturday, September 29, 2001, at 08:37 pm, Rosyna wrote:for (i=0;i<5000;i++)
[[instance URL] path];
Reimplement the above like this
for(i=0;i<5000;i++){
NSAutoreleasePool *pool;
pool = [[NSAutoreleasePool alloc] init];
[instance ULR];
/* Do lots of other interesting stuff */
[pool release];
}
Everything should be okay now.
| References: | |
| >Re: Does cocoa just leak? (From: Vince DeMarco <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.