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 Fri, 18 Jul 2008 11:05:32 GMT
Quoting "Mladen Turk" <mturk@apache.org>:

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


View raw message