Re: Leaks in NSDateComponenets object.
Re: Leaks in NSDateComponenets object.
- Subject: Re: Leaks in NSDateComponenets object.
- From: Agha Khan <email@hidden>
- Date: Wed, 26 Aug 2009 17:52:51 -0700
Dear Erg Cosultant:
Are you suggesting I should write my own DateComponenets?
If your answer is yes then it makes some sense.
Best regards
Agha
On Aug 26, 2009, at 5:37 PM, Erg Consultant wrote:
There is no guarantee autorreleased objects will be free immediately
- they may be freed at some later time. Hence they may show up as
leaks when they are in fact not.
I am not a fan of autorelased objects except in very rare
circumstances where it actually makes the code easier.
Other than that, I alloc/release all my objects manually so I know
EXACTLY when they are going away.
From: Agha Khan <email@hidden>
To: email@hidden
Sent: Wednesday, August 26, 2009 5:06:46 PM
Subject: Leaks in NSDateComponenets object.
Hi:
I have leaks in my application, and while I was googling I found
http://stackoverflow.com/questions/674724/using-instruments-leaks-object-alloc-are-autoreleased-objects-counted-as-leaks
where I have the same issue.
Is there work around or we just have to wait until it is fixed if it
is a known bug.
Thanks
Agha
_______________________________________________
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