From 3a2a5c61afd1cdbb86a4e3aff913f75073f9578f Mon Sep 17 00:00:00 2001 From: striker Date: Sun, 31 Mar 2002 10:12:21 +0000 Subject: Fix a logic bug. Submitted by: Cliff Woolley git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63208 13f79535-47bb-0310-9956-ffa450edef68 --- memory/unix/apr_pools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'memory/unix/apr_pools.c') diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index a0b48025d..18fc8f2db 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -1316,7 +1316,7 @@ APR_DECLARE(apr_status_t) apr_pool_create_ex_debug(apr_pool_t **newpool, pool->owner = apr_os_thread_current(); #endif /* APR_HAS_THREADS */ - if (parent != NULL || parent->allocator != allocator) { + if (parent == NULL || parent->allocator != allocator) { #if APR_HAS_THREADS apr_status_t rv; -- cgit v1.2.1