src/server/util/pool.c

changeset 71
069c152f6272
parent 40
56cda23f48d4
child 91
fac51f87def0
--- a/src/server/util/pool.c	Thu Jun 20 14:07:46 2013 +0200
+++ b/src/server/util/pool.c	Fri Jun 21 12:10:44 2013 +0200
@@ -179,9 +179,8 @@
 static void 
 _free_block(block_t *block)
 {
+#ifdef POOL_ZERO_DEBUG
     long blen = block->end - block->data;
-
-#ifdef POOL_ZERO_DEBUG
     memset(block->data, POOL_ZERO_DEBUG, blen);
 #endif /* POOL_ZERO_DEBUG */
 
@@ -458,7 +457,7 @@
     }
 
     {
-        pool_t **ppool;
+        //pool_t **ppool;
 
         /* Remove from the known pools list */
         // NOTICE: known pools list removed

mercurial