Re: Help with Memory leak
Re: Help with Memory leak
- Subject: Re: Help with Memory leak
- From: Dave Keck <email@hidden>
- Date: Tue, 30 Mar 2004 21:33:00 -0500
Put this code at the top of the method:
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
and put this at the end of that same method:
[pool release];
Since you don't know what method it's turning up in, just add it to any
method that's dealing with an object as a parameter. Once the messages
go away, you'll know which method needs the code above.
Hope this helps...
Dave
_______________________________________________
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.