• 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
NSString and Leaks Instrument, False Positives?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString and Leaks Instrument, False Positives?


  • Subject: NSString and Leaks Instrument, False Positives?
  • From: Kevin Ross <email@hidden>
  • Date: Sat, 21 Mar 2009 16:36:03 -0700

Hi everyone, I'm auditing my app and the both the "leaks" command line tool and the Instruments tool are both reporting that I have NSString leaks. All of the leaks are coming from code similar to the following:

NSFont *ageStarTextFont = [NSFont fontWithName:@"Arial Bold" size:KRLesserDimensionOfRect(transientDrawingRect)/3];

I'm guessing that the string in question is the @"Arial Bold" since it that is the only string on that line, but from what I understand a string created like that doesn't require a -release message. Could these be false positives generated by the leaks tool, or is there something that I'm missing?

Thanks for any pointers!


Kevin Ross

Twenty-Four Mountains
Mac Feng Shui Software
email@hidden
twentyfourmountains.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


  • Follow-Ups:
    • Re: NSString and Leaks Instrument, False Positives?
      • From: Kevin Ross <email@hidden>
  • Prev by Date: Re: MacRoman -> UTF8
  • Next by Date: Re: NSString and Leaks Instrument, False Positives?
  • Previous by thread: Re: nstableview **very** basic question
  • Next by thread: Re: NSString and Leaks Instrument, False Positives?
  • Index(es):
    • Date
    • Thread