From: Paul Pluzhnikov Date: Tue, 1 Sep 2015 15:35:38 +0000 (-0700) Subject: Filter out NULL entries. X-Git-Tag: glibc-2.23~524 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74589f738efd72e07f759a4aabd2e32613aaefb8;p=thirdparty%2Fglibc.git Filter out NULL entries. --- diff --git a/ChangeLog b/ChangeLog index f4e3d67c11e..e4ca925d585 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-09-01 Paul Pluzhnikov + + * malloc/mtrace.pl: Filter out NULL entries. + 2015-09-01 Joseph Myers * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro. diff --git a/malloc/mtrace.pl b/malloc/mtrace.pl index 0737890510e..6227049d46b 100644 --- a/malloc/mtrace.pl +++ b/malloc/mtrace.pl @@ -167,7 +167,7 @@ while () { 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; }