• 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: Static Analyzer and Core Foundation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static Analyzer and Core Foundation


  • Subject: Re: Static Analyzer and Core Foundation
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 18 Sep 2009 21:41:24 -0700


On Sep 18, 2009, at 5:25 PM, Steve Cronin wrote:

Is this the 'best' this can be?

You need to call CFRelease on 'mdi', right after releasing 'arrayRef'.
I don't know why the analyzer isn't reporting that as a leak — you could file a bug report.


—Jens_______________________________________________

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: 
 >Static Analyzer and Core Foundation (From: Steve Cronin <email@hidden>)
 >Re: Static Analyzer and Core Foundation (From: Luke the Hiesterman <email@hidden>)
 >Re: Static Analyzer and Core Foundation (From: Steve Cronin <email@hidden>)
 >Re: Static Analyzer and Core Foundation (From: Luke the Hiesterman <email@hidden>)
 >Re: Static Analyzer and Core Foundation (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: Optimizing Enormous lists in NSBrowser
  • Next by Date: Re: How to show the "Info Panel" for the files in tableview?
  • Previous by thread: Re: Static Analyzer and Core Foundation
  • Next by thread: Re: Static Analyzer and Core Foundation
  • Index(es):
    • Date
    • Thread