Re: Analyser reports memory leak… where?
Re: Analyser reports memory leak… where?
- Subject: Re: Analyser reports memory leak… where?
- From: Graham Cox <email@hidden>
- Date: Thu, 12 Sep 2013 12:52:31 +0200
On 12/09/2013, at 12:34 PM, Bill Cheeseman <email@hidden> wrote:
> The retain count is still +1 at the point where the error is reported.
But shouldn't it take into account that it was assigned to an ivar that is retained until -dealloc? Or is it trying to tell me that it will leak if the enclosing object happens to leak? If so, that would mean thousands of false positives in most code, which doesn't appear to happen. This particular object is a singleton that is never deallocated explicitly in fact - is that it?
--Graham
_______________________________________________
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