apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r761662 - /apr/apr/trunk/memory/unix/apr_pools.c
Date Fri, 03 Apr 2009 13:13:26 GMT
Author: rpluem
Date: Fri Apr  3 13:13:26 2009
New Revision: 761662

URL: http://svn.apache.org/viewvc?rev=761662&view=rev
Log:
* Correctly setup size field for the final_blocks field.

Modified:
    apr/apr/trunk/memory/unix/apr_pools.c

Modified: apr/apr/trunk/memory/unix/apr_pools.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/memory/unix/apr_pools.c?rev=761662&r1=761661&r2=761662&view=diff
==============================================================================
--- apr/apr/trunk/memory/unix/apr_pools.c (original)
+++ apr/apr/trunk/memory/unix/apr_pools.c Fri Apr  3 13:13:26 2009
@@ -825,6 +825,7 @@
         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);



Mime
View raw message