diff options
author | striker <striker@13f79535-47bb-0310-9956-ffa450edef68> | 2003-07-18 23:10:04 +0000 |
---|---|---|
committer | striker <striker@13f79535-47bb-0310-9956-ffa450edef68> | 2003-07-18 23:10:04 +0000 |
commit | fe103e798cfe00aca634c0b6dd760fb1303832c4 (patch) | |
tree | 4455b5e4dec24e447c61e7b0f9e180ff7bd0474d /memory | |
parent | eb85744ef4a3674f479bad5d2ef44fd1d6c85d33 (diff) | |
download | libapr-fe103e798cfe00aca634c0b6dd760fb1303832c4.tar.gz |
* memory/unix/apr_pools.c
(apr_pool_create_ex): Use the correct mutex when adding the pool to
the pools parent child list.
Submitted by: Brad Nicholes, Jean-Jacques Clar <jjclar@novell.com>
Reviewed by: Cliff Woolley, Sander Striker
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64572 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r-- | memory/unix/apr_pools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index de4fbbf1a..d10012114 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -856,7 +856,7 @@ APR_DECLARE(apr_status_t) apr_pool_create_ex(apr_pool_t **newpool, #if APR_HAS_THREADS apr_thread_mutex_t *mutex; - if ((mutex = apr_allocator_mutex_get(allocator)) != NULL) + if ((mutex = apr_allocator_mutex_get(parent->allocator)) != NULL) apr_thread_mutex_lock(mutex); #endif /* APR_HAS_THREADS */ |