summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tables/apr_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tables/apr_hash.c b/tables/apr_hash.c
index e6e801f4b..7db486f7a 100644
--- a/tables/apr_hash.c
+++ b/tables/apr_hash.c
@@ -311,7 +311,7 @@ APR_DECLARE(apr_hash_t *) apr_hash_copy(apr_pool_t *pool,
apr_hash_entry_t *new_vals;
unsigned int i, j;
- if (apr_pool_create(&array_pool, ht->pool) != APR_SUCCESS)
+ if (apr_pool_create(&array_pool, pool) != APR_SUCCESS)
return NULL;
ht = apr_palloc(pool, sizeof(apr_hash_t) +