From: Ulrich Drepper Date: Wed, 30 Sep 1998 13:58:30 +0000 (+0000) Subject: (mprobe): Call checkhdr with adjusted pointer. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3e89f6774087a9e30b078beda44ecfaec3aae79;p=thirdparty%2Fglibc.git (mprobe): Call checkhdr with adjusted pointer. --- diff --git a/malloc/mcheck.c b/malloc/mcheck.c index 05d4af25419..e04e60caed7 100644 --- a/malloc/mcheck.c +++ b/malloc/mcheck.c @@ -212,7 +212,7 @@ mcheck (func) abortfunc = (func != NULL) ? func : &mabort; /* These hooks may not be safely inserted if malloc is already in use. */ - if (!__malloc_initialized <= 0 && !mcheck_used) + if (__malloc_initialized <= 0 && !mcheck_used) { old_free_hook = __free_hook; __free_hook = freehook;