Re: Am I overreleasing something?
Re: Am I overreleasing something?
- Subject: Re: Am I overreleasing something?
- From: Cameron Hayne <email@hidden>
- Date: Fri, 10 Jun 2005 17:13:16 -0400
On 10-Jun-05, at 5:03 PM, Theodore H. Smith wrote:
I'm open to being told that there really isn't any other way than
sleuthing the answer.
As others have said, the easiest way to figure this out is to use the
available utilities like ObjectAlloc and the OmniGroup utility.
But the best way is really to slow down and examine your code and
make sure you understand for each 'alloc' and 'retain' (or copy)
where the corresponding 'release' is in your code (they must be 1 to
1). Similarly, check that you aren't releasing any auto-released
objects.
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden