* malloc/memusage.c (dest): Reset not_me back to false after

printing statistics.
This commit is contained in:
Ulrich Drepper 2006-11-03 17:01:41 +00:00
parent a0e3159152
commit 9666e36c18
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-11-02 Jakub Jelinek <jakub@redhat.com>
* malloc/memusage.c (dest): Reset not_me back to false after
printing statistics.
2006-11-02 Ulrich Drepper <drepper@redhat.com>
* configure.in: Work around ld --help change and avoid -z relro

View File

@ -887,4 +887,10 @@ dest (void)
fputc ('=', stderr);
fputs ("\e[0;0m\n", stderr);
}
/* Any following malloc/free etc. calls should generate statistics again,
because otherwise freeing something that has been malloced before
this destructor (including struct header in front of it) wouldn't
be properly freed. */
not_me = false;
}