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 protected]
twentyfourmountains.com


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to