diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2015-09-01 08:35:38 -0700 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2015-09-01 08:35:38 -0700 |
commit | 74589f738efd72e07f759a4aabd2e32613aaefb8 (patch) | |
tree | 274a467096efcc5713066b9226fe1fc0ccc99be2 /malloc/mtrace.pl | |
parent | 04d9a38bafddb92ab79bc0015533689e15848522 (diff) | |
download | glibc-74589f738efd72e07f759a4aabd2e32613aaefb8.tar.gz glibc-74589f738efd72e07f759a4aabd2e32613aaefb8.tar.xz glibc-74589f738efd72e07f759a4aabd2e32613aaefb8.zip |
Filter out NULL entries.
Diffstat (limited to 'malloc/mtrace.pl')
-rw-r--r-- | malloc/mtrace.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/mtrace.pl b/malloc/mtrace.pl index 0737890510..6227049d46 100644 --- a/malloc/mtrace.pl +++ b/malloc/mtrace.pl @@ -167,7 +167,7 @@ while (<DATA>) { printf ("+ %#0@XXX@x Alloc %d duplicate: %s %s\n", hex($allocaddr), $nr, &location($addrwas{$allocaddr}), $where); - } else { + } elsif ($allocaddr =~ /^0x/) { $allocated{$allocaddr}=$howmuch; $addrwas{$allocaddr}=$where; } |