aboutsummaryrefslogtreecommitdiff
path: root/malloc/arena.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/arena.c')
-rw-r--r--malloc/arena.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc/arena.c b/malloc/arena.c
index ce64335..9e3ff47 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -370,6 +370,9 @@ ptmalloc_init_minimal (void)
mp_.top_pad = DEFAULT_TOP_PAD;
#endif
mp_.n_mmaps_max = DEFAULT_MMAP_MAX;
+#if MALLOC_DEBUG
+ mp_.n_mmaps_cmax = DEFAULT_MMAP_MAX;
+#endif
mp_.mmap_threshold = DEFAULT_MMAP_THRESHOLD;
mp_.trim_threshold = DEFAULT_TRIM_THRESHOLD;
mp_.pagesize = malloc_getpagesize;