diff options
Diffstat (limited to 'tables/apr_hash.c')
-rw-r--r-- | tables/apr_hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tables/apr_hash.c b/tables/apr_hash.c index 49e11f5ef..3e1678aeb 100644 --- a/tables/apr_hash.c +++ b/tables/apr_hash.c @@ -278,7 +278,8 @@ static apr_hash_entry_t **find_entry(apr_hash_t *ht, if (he || !val) return hep; /* add a new entry for non-NULL values */ - he = apr_pcalloc(ht->pool, sizeof(*he)); + he = apr_palloc(ht->pool, sizeof(*he)); + he->next = NULL; he->hash = hash; he->key = key; he->klen = klen; |