dev  

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

Bojan Smojver
Fri, 18 Jul 2008 04:07:12 -0700

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

Of course if you can do that.

You can always do that, because it only applies to the resource container, which must survive in order for de() to check for r->p (where r is resource container and p the sub-pool in question).

PS. The code works (by accident) even when r is allocated from the sub-pool because values don't get overwritten by the time de() is called to check if r->p is NULL.

--
Bojan