Re: where to release a CF object thats retained by a cocoa object
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