apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bojan Smojver" <bo...@rexursive.com>
Subject Re: svn commit: r677505 - /apr/apr-util/trunk/misc/apr_reslist.c
Date Sat, 19 Jul 2008 04:48:59 GMT
Quoting "Mladen Turk" <mturk@apache.org>:

> 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.

I'm getting infinite recursion in the latest test.c if I remove pool  
pointer reset with the pre_cleanup (in other words, inside res_clean,  
if r->p=NULL is removed).

-- 
Bojan

Mime
View raw message