Re: Memory Management to NSError
Re: Memory Management to NSError
- Subject: Re: Memory Management to NSError
- From: Alexander Spohr <email@hidden>
- Date: Tue, 6 Jan 2009 13:09:34 +0100
If you did not alloc it you should not release it.
That is the rule for ALL objects.
atze
Am 06.01.2009 um 03:16 schrieb Dong Feng:
How shall we handle the NSError object returned directly or indirectly
(through out parameter)? Shall it be released after use? I checked
the example code in Apple document but never see a returned NSError
object get released.
_______________________________________________
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