Filter out NULL entries.

This commit is contained in:
Paul Pluzhnikov 2015-09-01 08:35:38 -07:00
parent 04d9a38baf
commit 74589f738e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
* malloc/mtrace.pl: Filter out NULL entries.
2015-09-01 Joseph Myers <joseph@codesourcery.com>
* inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.

View File

@ -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;
}