Re: Memory management in a thread
Re: Memory management in a thread
- Subject: Re: Memory management in a thread
- From: Allan Odgaard <email@hidden>
- Date: Fri, 12 Mar 2004 21:04:45 +0100
On 12. Mar 2004, at 20:39, Randall Meadows wrote:
Or am I confused? I'm guessing I cannot release on an
already-autoreleased object, right? What to do to clean up my loop?
You are correct -- you can alloc/release a "nested" auto release pool
in the outer loop, that way objects will instead go to this one, and
they will be released after each iteration.
_______________________________________________
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.