summaryrefslogtreecommitdiff
path: root/include/arch/unix/misc.h
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-05-16 19:14:50 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-05-16 19:14:50 +0000
commit5848bed185070e612faae212402c1d6db2eb133c (patch)
tree123b35e6256d88b568e5731476578c6307536c6a /include/arch/unix/misc.h
parentc6412158a79b8cdf2c6cb5cfcb2a3b61acb085b3 (diff)
downloadlibapr-5848bed185070e612faae212402c1d6db2eb133c.tar.gz
Automatically remove other-child registrations when the
associated pool is destroyed. This avoids garbage in the list of registrations when a pool with a registration is freed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61652 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/unix/misc.h')
-rw-r--r--include/arch/unix/misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/arch/unix/misc.h b/include/arch/unix/misc.h
index 8b79f03af..e896f1224 100644
--- a/include/arch/unix/misc.h
+++ b/include/arch/unix/misc.h
@@ -89,6 +89,7 @@
#endif
struct apr_other_child_rec_t {
+ apr_pool_t *p;
struct apr_other_child_rec_t *next;
int id; /* This is either a pid or tid depending on the platform */
void (*maintenance) (int, void *, int);