• 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
Calling autorelease on CFAllocated objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling autorelease on CFAllocated objects?


  • Subject: Calling autorelease on CFAllocated objects?
  • From: Scott Andrew <email@hidden>
  • Date: Wed, 9 Jul 2008 13:56:04 -0700

I have a memory management question. I was looking at the QCTV example on from the quicktime site. It has some code that does the following:

ICMCompressionSessionOptionsRef options;

..

Do some work
..

return (ICMCompressionSessionOptionsRef)[(id)options autorelease];

Can you do this with CoreFoundation allocated things that are not bridged?

Scott
_______________________________________________

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


  • Follow-Ups:
    • Re: Calling autorelease on CFAllocated objects?
      • From: Wade Tregaskis <email@hidden>
  • Prev by Date: Re: Set string value
  • Next by Date: Re: Redrawing CALayer subclass when super layer is scaled
  • Previous by thread: Re: Set string value
  • Next by thread: Re: Calling autorelease on CFAllocated objects?
  • Index(es):
    • Date
    • Thread