• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Memory Management to NSError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Management to NSError


  • Subject: Re: Memory Management to NSError
  • From: Mike Abdullah <email@hidden>
  • Date: Tue, 6 Jan 2009 12:03:48 +0000

You didn't create the error object, so don't release it. Assume it is autoreleased.

On 6 Jan 2009, at 02:16, Dong Feng wrote:

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

_______________________________________________

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


References: 
 >Memory Management to NSError (From: "Dong Feng" <email@hidden>)

  • Prev by Date: Re: Stumped on memory problem :(
  • Next by Date: Re: Countdown With NSTimer - Hours, Minutes, Seconds Remaining?
  • Previous by thread: Re: Memory Management to NSError
  • Next by thread: Re: Memory Management to NSError
  • Index(es):
    • Date
    • Thread