On Mar 6, 2012, at 5:24 PM, Sean McBride wrote:

> On Mon, 5 Mar 2012 13:44:24 -0800, Gus Mueller said:
> 
>> That's because it's missing a CF_RETURNS_RETAINED in the header for that
>> method, which the analyzer needs to know what's going on.  I'm not sure
>> there's any way around this other than filing a bug and hoping Apple
>> updates the headers in the next release.
>> 
>> (Another example of this is SecTransformExecute in Securty.framework)
> 
> You sure about SecTransformExecute?  Its docs don't say anything about 
> needing to CFRelease the return value...

Yep- check out this (Mountain Lion Dev Preview) forum post for clarification:
https://devforums.apple.com/message/625749

-gus

--  

August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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

This email sent to arch...@mail-archive.com

Reply via email to