Leak Hunting and Object Alloc
Leak Hunting and Object Alloc
- Subject: Leak Hunting and Object Alloc
- From: Skip Haughay <email@hidden>
- Date: Thu, 23 Nov 2006 06:33:59 -0800
This is terribly frustrating.
I am attempting too chase down some leaks in my framework. I am having a difficult time of it. I have a leak that is being reported in the leaks tool:
Leak: 0x003cf680 size=48 instance of 'com_apple_ist_ds2_pub_common_Name'
0x053040ac 0x00000000 0x00000000 0x00000000 .0@.............
0x00000000 0x00000000 0x00000000 0x00000000 ................
0x00000000 0x003ce5e0 0x00000000 0x00000000 .....<..........
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?
Skip
_______________________________________________
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