Re: Why I have a leak? I am unable to understand
Re: Why I have a leak? I am unable to understand
- Subject: Re: Why I have a leak? I am unable to understand
- From: Luke the Hiesterman <email@hidden>
- Date: Mon, 24 Aug 2009 17:26:15 -0700
The obligation to release doesn't come from the init - it comes from
the alloc. This is an important distinction.
Luke
On Aug 24, 2009, at 5:24 PM, Nick Zitzmann wrote:
On Aug 24, 2009, at 6:20 PM, Agha Khan wrote:
I am not releasing gregorian, because I never used retain.
Same is true with dateSegments.
Can someone help me.
Yes, but you _did_ init it, so you have to release it. Go read the
rules again.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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