Re: [newbie] NSString code so it won't leak
Re: [newbie] NSString code so it won't leak
- Subject: Re: [newbie] NSString code so it won't leak
- From: Charles Srstka <email@hidden>
- Date: Thu, 12 Sep 2002 04:00:00 -0500
On Wednesday, September 11, 2002, at 10:59 PM, Shawn Erickson wrote:
The issue appears to be that the autorelease pool that they are being
put into is _not_ being released... I did wrap the call to [self
extractWithData:[sender resourceData]]; with an autorelease pool an
the leaks went away...
That's what I thought. Okay, Dean, now you have a simple solution to
your problem - wrap the code inside an autorelease pool, as I described
in my previous message in this thread.
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.