Re: if statement causing 32 Byte leak?
Re: if statement causing 32 Byte leak?
- Subject: Re: if statement causing 32 Byte leak?
- From: Dave Camp <email@hidden>
- Date: Sun, 10 Jan 2010 09:55:56 -0800
On Jan 10, 2010, at 9:13 AM, Glenn L. Austin wrote:
> On Jan 10, 2010, at 8:01 AM, Scott Ribe wrote:
>
>> Also, an isAutoReleased message would be worthless. At any point in time,
>> you have no idea how many times library routines that you've called might
>> have retained/released/autoreleased, nor should you care.
>
> Actually, it would be nice to have *in a debugging context* since trying to track down a pointer that is in the autorelease pool the number of times it has been retained when you do a release would be very beneficial. Yes, it would slow things down, but it would sure save a lot of time when trying to track down a spurious release!
"The" autorelease pool? Frequently they nest... and there could be multiple pools in each thread.
Dave_______________________________________________
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