Re: NSXMLParser frees itself on error?
Re: NSXMLParser frees itself on error?
- Subject: Re: NSXMLParser frees itself on error?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 4 May 2009 17:05:34 -0400
- Organization: Rogue Research Inc.
On 5/3/09 5:38 PM, Kyle Sluder said:
>Initializers must call -[self release] in case of an error. This
>means that in response to an error that occurs as part of
>initialization, you must not release that object.
Actually, they should call [super dealloc] not [self release], see:
<http://lists.apple.com/archives/Objc-language/2008/Sep/msg00133.html>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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