]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* malloc/memusage.c (dest): Reset not_me back to false after printing cvs/fedora-glibc-2_5_90-4
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Nov 2006 16:38:22 +0000 (16:38 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 3 Nov 2006 16:38:22 +0000 (16:38 +0000)
statistics.

ChangeLog
malloc/memusage.c

index e5f9d7d13f74650705a9ed5302ee9c927cc85eb8..876c91d494a4197280271841122ac6433ac28890 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 9003d8094ae2a418f45175be58ffe2cd6808853d..bf2978ef02f98fa62b50a974d9b48690ee36a833 100644 (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;
 }