Re: Will this leak memory?
Re: Will this leak memory?
- Subject: Re: Will this leak memory?
- From: lbland <email@hidden>
- Date: Fri, 5 Sep 2003 10:08:48 -0400
On Friday, September 5, 2003, at 09:36 AM, Neil Earnshaw wrote:
The dealloc log message never gets called.
Of course it will! :--)
but it will only leak once, which is what you probably want.
(it will free memory when the process is killed).
If it is a Singleton then why not overload your release method:
- (void)release
{
NSLog(@"Hey you! don't release me!");
// repeat 3 times...
// I will not call this, I will not call this, I will not call this:
[super release];
}
Lance Bland
mailto:email@hidden
VVI
888-VVI-PLOT
http://www.vvi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.