Re: Releasing WSMethodInvocationInvoke()
Re: Releasing WSMethodInvocationInvoke()
- Subject: Re: Releasing WSMethodInvocationInvoke()
- From: Gus Mueller <email@hidden>
- Date: Fri, 09 Mar 2012 15:30:06 -0800
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 (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