Re: Re: why there is a memory leak in this method?
Re: Re: why there is a memory leak in this method?
- Subject: Re: Re: why there is a memory leak in this method?
- From: "Philip Q" <email@hidden>
- Date: Sat, 25 Nov 2006 18:39:06 +1300
On 25/11/06, Matt Neuburg <email@hidden> wrote:
You never know for sure what autorelease will return, so my first piece of
advice would be to write it like this:
The docs state (for -autorelease):
Return Value
self.
-Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden