diff options
author | Ruediger Pluem <rpluem@apache.org> | 2009-04-03 13:13:26 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2009-04-03 13:13:26 +0000 |
commit | 16bc1b6a9a7154cbddc0dcb483d8579596acba88 (patch) | |
tree | d048cc9686b16bbbe731718451f11ad5eeabc2b2 | |
parent | 7190b2f93d4433d113babec5fa0ecf0833a45b4c (diff) | |
download | apr-16bc1b6a9a7154cbddc0dcb483d8579596acba88.tar.gz |
* Correctly setup size field for the final_blocks field.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@761662 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | memory/unix/apr_pools.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c index 8df89a505..86ea2d014 100644 --- a/memory/unix/apr_pools.c +++ b/memory/unix/apr_pools.c @@ -825,6 +825,7 @@ APR_DECLARE(apr_status_t) apr_pool_create_ex(apr_pool_t **newpool, pool->blocks = &pool->final_block; pool->blocks->offset = 0; pool->blocks->next = NULL; + pool->blocks->size = BLOCK_LIST_ENTRIES_MIN; pool->cleanups = NULL; (void)apr_thread_mutex_create(&pool->mutex, APR_THREAD_MUTEX_NESTED, pool); |