• 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: where to release a CF object thats retained by a cocoa object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where to release a CF object thats retained by a cocoa object


  • Subject: Re: where to release a CF object thats retained by a cocoa object
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 27 Sep 2009 10:39:30 -0700


On Sep 27, 2009, at 10:11 AM, Navneet Kumar wrote:

// Shall I do CFRelease(outputVolumeName); here?

Yes. You have to call CFRelease on any reference you got via a xxCopyxx or xxCreatexx function.


—Jens_______________________________________________

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: 
 >where to release a CF object thats retained by a cocoa object (From: Navneet Kumar <email@hidden>)

  • Prev by Date: Re: Getting glyphs for surrogate characters ??
  • Next by Date: Re: Xcode3.2 build and analyze warning for NSString allocation
  • Previous by thread: where to release a CF object thats retained by a cocoa object
  • Next by thread: Looking for Sample code: WWDC2007 - Session 201 - Building Animated Cocoa User Interfaces
  • Index(es):
    • Date
    • Thread