From 49d0293c885aa2b946ad2b1e2c0cc481b68f5604 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Sat, 23 Oct 2010 23:43:37 -0700 Subject: [PATCH] Add missing #ifdef JEMALLOC_PROF. Only call prof_boot0() if profiling is enabled. --- jemalloc/src/jemalloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jemalloc/src/jemalloc.c b/jemalloc/src/jemalloc.c index 012c4a8f..2aebc51d 100644 --- a/jemalloc/src/jemalloc.c +++ b/jemalloc/src/jemalloc.c @@ -623,7 +623,9 @@ malloc_init_hard(void) } #endif +#ifdef JEMALLOC_PROF prof_boot0(); +#endif malloc_conf_init();