dev  

Re: svn commit: r677505 - /apr/apr-util/trunk/misc/apr_reslist.c

Bojan Smojver
Fri, 18 Jul 2008 21:49:32 -0700

Quoting "Mladen Turk" <[EMAIL PROTECTED]>:

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