Re: Should I retain a variable returned from this accessor?
Re: Should I retain a variable returned from this accessor?
- Subject: Re: Should I retain a variable returned from this accessor?
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 12 Aug 2008 10:34:55 -0400
On Mon, Aug 11, 2008 at 10:51 PM, Peter N Lewis <email@hidden> wrote:
> [newTodo release] is not [newTodo autorelease]. So it may immediately call
> dealloc and dealloc the uid returned by by [newTodo uid].
You're right about this; I did miss the -release.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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