• 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
Re: Releasing WSMethodInvocationInvoke()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Releasing WSMethodInvocationInvoke() (From: Ian was here <email@hidden>)
 >Re: Releasing WSMethodInvocationInvoke() (From: Gus Mueller <email@hidden>)
 >Re: Releasing WSMethodInvocationInvoke() (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: ivar access during -finalize
  • Next by Date: Re: Can't log in to Developer Centre
  • Previous by thread: Re: Releasing WSMethodInvocationInvoke()
  • Next by thread: Convert PDF CGContextRef to NSView for hi-res printing
  • Index(es):
    • Date
    • Thread