• 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
leak in NSInvocation when NOT using zero link ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

leak in NSInvocation when NOT using zero link ?


  • Subject: leak in NSInvocation when NOT using zero link ?
  • From: joao da silva <email@hidden>
  • Date: Fri, 18 Mar 2005 16:20:38 -0500

(reposting maybe i'll get more audience during daytime...)

There used to be a leak in NSInvocation (10.0) fixed in 10.1 i believe.
I am on 10.3.8 and I am seeing the same issue.

NSInvocation seems to leak the return value (any class) but ONLY when my project is built NOT using zero link.
When NOT using zero link, -[NSInvocation invoke] and -[NSInvocation setReturnValue:] both call -retain on my object whereas when using zero link only -[NSInvocation setReturnValue:] seems to.
This seems to happen with and without debug symbols.

Anyone seen this issue ?
Would this be a compiler issue (zero link) or a Foundation one ?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: (newbie question) Putting special characters in NSStrings
  • Next by Date: Re: (newbie question) Putting special characters in NSStrings
  • Previous by thread: Re: (newbie question) Putting special characters in NSStrings
  • Next by thread: NSTimer causes events to be lost
  • Index(es):
    • Date
    • Thread