• 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
Should the analyzer catch retained objects returned from createXXX methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Should the analyzer catch retained objects returned from createXXX methods?


  • Subject: Should the analyzer catch retained objects returned from createXXX methods?
  • From: Rick Mann <email@hidden>
  • Date: Wed, 17 Aug 2011 14:06:32 -0700

I have a method named createFoo, from which I return an object with a retain count of 1. The Xc4 static analyzer is complaining about a potential leak, but I thought it would notice the "create" in the name...

--
Rick

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Should the analyzer catch retained objects returned from createXXX methods?
      • From: Ken Thomases <email@hidden>
    • Re: Should the analyzer catch retained objects returned from createXXX methods?
      • From: Christiaan Hofman <email@hidden>
    • Re: Should the analyzer catch retained objects returned from createXXX methods?
      • From: Conrad Shultz <email@hidden>
  • Prev by Date: Re: Xcode Stil not working for since january
  • Next by Date: Re: Should the analyzer catch retained objects returned from createXXX methods?
  • Previous by thread: Re: XCode 4 - Only Use Mac OSX Documentation?
  • Next by thread: Re: Should the analyzer catch retained objects returned from createXXX methods?
  • Index(es):
    • Date
    • Thread