From a19fe332c1be896a4b834b26f8f2ed4813f180f2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 28 Sep 2004 18:25:52 +0000 Subject: Update. * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to disable all checking. --- malloc/arena.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'malloc/arena.c') diff --git a/malloc/arena.c b/malloc/arena.c index 16574e1..3adfbc4 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -495,7 +495,8 @@ ptmalloc_init (void) #endif if(s) { if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0')); - __malloc_check_init(); + if (check_action != 0) + __malloc_check_init(); } if(__malloc_initialize_hook != NULL) (*__malloc_initialize_hook)(); -- cgit v1.1