From a234e27dba9abdce3ba999479b024a4c7843422b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 1 May 2003 07:38:32 +0000 Subject: Update. 2003-05-01 Ulrich Drepper * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. 2003-04-29 Andreas Schwab * string/test-strcat.c (do_one_test): Fix attribute name. --- malloc/malloc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'malloc') diff --git a/malloc/malloc.c b/malloc/malloc.c index 0586a0c..8b862fe 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -5090,6 +5090,8 @@ void mSTATs() long stat_lock_direct = 0, stat_lock_loop = 0, stat_lock_wait = 0; #endif + if(__malloc_initialized < 0) + ptmalloc_init (); for (i=0, ar_ptr = &main_arena;; i++) { (void)mutex_lock(&ar_ptr->mutex); mi = mALLINFo(ar_ptr); -- cgit v1.1