Author: mturk Date: Wed Aug 6 23:35:36 2008 New Revision: 683524 URL: http://svn.apache.org/viewvc?rev=683524&view=rev Log: Use deault pool cleanup order for reslist create. Modified: apr/apr-util/trunk/misc/apr_reslist.c Modified: apr/apr-util/trunk/misc/apr_reslist.c URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/misc/apr_reslist.c?rev=683524&r1=683523&r2=683524&view=diff ============================================================================== --- apr/apr-util/trunk/misc/apr_reslist.c (original) +++ apr/apr-util/trunk/misc/apr_reslist.c Wed Aug 6 23:35:36 2008 @@ -310,14 +310,8 @@ return rv; } - /* Register a pool pre_cleanup. - * This will ensure that reslist_cleanup is run BEFORE - * any of the eventual child pools of this pool. - * If an child pool was created inside apr_reslist_destructor, - * this child pool can safely call apr_pool_destroy inside - * apr_reslist_destructor thus safely detaching himself. - */ - apr_pool_pre_cleanup_register(rl->pool, rl, reslist_cleanup); + apr_pool_cleanup_register(rl->pool, rl, reslist_cleanup, + apr_pool_cleanup_null); *reslist = rl;