diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-24 04:45:46 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2001-07-24 04:45:46 +0000 |
commit | 710d17631334f9a795ff71a5c41090b19067245d (patch) | |
tree | 4d05a1a44ec5072f3654df8ac32cd8deda9831a0 /include | |
parent | 7c12b85f422f7a29a62d62e1050a1194549055b4 (diff) | |
download | libapr-710d17631334f9a795ff71a5c41090b19067245d.tar.gz |
These both need to be apr_pool_child_cleanup_set() ... we are simply
toggling between the null cleanup and a real cleanup.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61997 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/arch/unix/inherit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/arch/unix/inherit.h b/include/arch/unix/inherit.h index 58c86b6cf..394c2cd5b 100644 --- a/include/arch/unix/inherit.h +++ b/include/arch/unix/inherit.h @@ -74,7 +74,8 @@ void apr_##name##_unset_inherit(apr_##name##_t *name) \ { \ if (name->flag & APR_INHERIT) { \ name->flag &= ~APR_INHERIT; \ - apr_pool_cleanup_kill(name->pool, (void *)name, cleanup); \ + apr_pool_child_cleanup_set(name->pool, (void *)name, \ + cleanup, cleanup); \ } \ } |