Re: [AD] [ alleg-Bugs-2986726 ] Nested autorelease pools ok in native iphone image loader?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 13 Apr 2010, at 16:26 , SourceForge.net wrote:
> The native iphone image loader is leaking memory without an autorelease pool. I will be adding a short-lived autorelease pool to the loading function, but this fix may cause problems if a user calls the function from a thread that already has an autorelease pool. Are autorelease pools nestable?

Yes.
The native dialog addon has had its own autorelease pool from the beginning because it could (should) be called from another thread. It still does.

Evert



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/