diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-25 17:43:30 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-25 17:43:30 +0400 |
commit | be8c6f0ce040a5f9d17d17b356a97712d912f7b1 (patch) | |
tree | 8e8f63e2cf7dbdaef999d36543a23573630a9359 /src/mem_pool.c | |
parent | 1cb4c2d898b531c5d325dcc035fc1e9c22ca93a4 (diff) | |
download | rspamd-be8c6f0ce040a5f9d17d17b356a97712d912f7b1.tar.gz rspamd-be8c6f0ce040a5f9d17d17b356a97712d912f7b1.zip |
Zero memory of pool allocator statistic.
Diffstat (limited to 'src/mem_pool.c')
-rw-r--r-- | src/mem_pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem_pool.c b/src/mem_pool.c index 32eb4d786..dac5f8a93 100644 --- a/src/mem_pool.c +++ b/src/mem_pool.c @@ -178,6 +178,7 @@ memory_pool_new (gsize size) #else # error No mmap methods are defined #endif + memset (map, 0, sizeof (memory_pool_stat_t)); } new = g_slice_alloc (sizeof (memory_pool_t)); |