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 153442188..d7b73bdb5 100644
--- a/tables/apr_hash.c
+++ b/tables/apr_hash.c
@@ -102,7 +102,7 @@ APR_DECLARE(apr_hash_t *) apr_hash_make(apr_pool_t *pool)
APR_DECLARE(apr_hash_t *) apr_hash_make_custom(apr_pool_t *pool,
apr_hashfunc_t hash_func)
{
- ht = apr_hash_make(p);
+ apr_hash_t *ht = apr_hash_make(pool);
ht->hash_func = hash_func;
return ht;
}