apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: svn commit: r677505 - /apr/apr-util/trunk/misc/apr_reslist.c
Date Sat, 19 Jul 2008 04:12:54 GMT
Bojan Smojver wrote:
> On Sat, 2008-07-19 at 09:08 +1000, Bojan Smojver wrote:
> 
>> This should be better.
> 
> Third time's the charm? I keep forgetting that by the time destructor is
> called, pool may be dead and buried already...
> 

But not with pre_cleanup. That's the whole point.
You don't need additional cleanup neither malloc/free.
Simply call the apr_pool_destroy at the end of the destructor,
and it'll work.


Regards
-- 
^(TM)

Mime
View raw message