> P.S. I very rarely use the C interfaces, do I have to also run CFRelease on 
> the result of the  CGImageSourceCopyProperties call?

Yes, you should. See 'The Create Rule':
http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-103029.

Or, if you're using Garbage Collection, you should call
CFMakeCollectable() on it.

Or you could cast it to id and autorelease it, which I find particularly handy.
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to