Should i release return object from CGImageSourceCopyPropertiesAtIndex call?
- by dualsoul
It's not stated in documentation for CGImageSourceCopyPropertiesAtIndex function. But am i right that i should call CFRelease on retured CFDictionaryRef ?
Quick sample:
NSDictionary* metadata = (NSDictionary *)CGImageSourceCopyPropertiesAtIndex(source,0,NULL);
......................
//Should i call CFRelease(metadata); ??
Thanks.