Re: Leak Hunting and Object Alloc
Re: Leak Hunting and Object Alloc
- Subject: Re: Leak Hunting and Object Alloc
- From: j o a r <email@hidden>
- Date: Thu, 23 Nov 2006 19:26:28 +0100
On 23 nov 2006, at 15.33, Skip Haughay wrote:
I look in ObjectAlloc and find this object. I look at the chain of
allocation events:
AllocationEvent
ObjectRetainedEvent
ObjectAutoreleasedEvent
ObjectRetainedEvent
ObjectReleasedEvent
ObjectReleasedEvent
Shouldn't this be released when the current autorelease pool is
cleared?
Are you sure that one of the release events recorded above isn't the
one triggered by the autorelease event?
If you instruct ObjectAlloc to keep the backtraces to the memory
management events it should be really easy to find the problem.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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