Re: How is this an "incorrect decrement of a reference count"?
Re: How is this an "incorrect decrement of a reference count"?
- Subject: Re: How is this an "incorrect decrement of a reference count"?
- From: Eeyore <email@hidden>
- Date: Tue, 20 Mar 2012 12:19:35 -0700
I think the link was to the "Resource Programming Guide" which covers both Mac OS X and iOS. You will want to look at page 17 in the PDF "Legacy Patterns." If you follow David's advice and want to try Heap Shot analysis, there's a good introduction here:
http://www.friday.com/bbum/2010/10/17/when-is-a-leak-not-a-leak-using-heapshot-analysis-to-find-undesirable-memory-growth/
Aaron
On Mar 20, 2012, at 10:55 AM, David Duncan wrote:
> On Mar 20, 2012, at 10:48 AM, G S wrote:
>
>> I *am not* releasing the IBOutlets in dealloc, and have yet to see a leak in Leaks as a result.
>
>
> For a myriad of arcane reasons it is fairly difficult to see UIView (or CALayers) in Leaks. That doesn't mean they will eventually be deallocated. I would look into using Heap Shots to see what you are losing by not releasing your outlets in -dealloc.
> --
> David Duncan
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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