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 protected]>
To: [email protected]
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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/erg_consultant%40yahoo.com

This email sent to [email protected]



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to