aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mem_pool.c1
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));