You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rp...@apache.org on 2009/09/22 23:57:38 UTC

svn commit: r817860 - /apr/apr/branches/1.3.x/tables/apr_hash.c

Author: rpluem
Date: Tue Sep 22 21:57:36 2009
New Revision: 817860

URL: http://svn.apache.org/viewvc?rev=817860&view=rev
Log:
Merge r817858 from trunk:

* Use the correct pool. ht->pool isn't set to pool yet.

Submitted by: Neil Conway <nrc cs.berkeley.edu>
Reviewed by: rpluem

Modified:
    apr/apr/branches/1.3.x/tables/apr_hash.c

Modified: apr/apr/branches/1.3.x/tables/apr_hash.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/tables/apr_hash.c?rev=817860&r1=817859&r2=817860&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/tables/apr_hash.c (original)
+++ apr/apr/branches/1.3.x/tables/apr_hash.c Tue Sep 22 21:57:36 2009
@@ -311,7 +311,7 @@
     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) +