striker 2003/07/18 16:10:05
Modified: memory/unix apr_pools.c
Log:
* 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 <[EMAIL PROTECTED]>
Reviewed by: Cliff Woolley, Sander Striker
Revision Changes Path
1.197 +1 -1 apr/memory/unix/apr_pools.c
Index: apr_pools.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -r1.196 -r1.197
--- apr_pools.c 28 May 2003 04:39:42 -0000 1.196
+++ apr_pools.c 18 Jul 2003 23:10:04 -0000 1.197
@@ -856,7 +856,7 @@
#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 */