apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r817858 - /apr/apr/trunk/tables/apr_hash.c
Date Tue, 22 Sep 2009 21:55:28 GMT
Author: rpluem
Date: Tue Sep 22 21:55:25 2009
New Revision: 817858

URL: http://svn.apache.org/viewvc?rev=817858&view=rev
Log:
* 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/trunk/tables/apr_hash.c

Modified: apr/apr/trunk/tables/apr_hash.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/tables/apr_hash.c?rev=817858&r1=817857&r2=817858&view=diff
==============================================================================
--- apr/apr/trunk/tables/apr_hash.c (original)
+++ apr/apr/trunk/tables/apr_hash.c Tue Sep 22 21:55:25 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) +



Mime
View raw message