Skip to content

Commit

Permalink
Filter out NULL entries.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Pluzhnikov committed Sep 1, 2015
1 parent 04d9a38 commit 74589f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion malloc/mtrace.pl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ sub location {
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;
}
Expand Down

0 comments on commit 74589f7

Please sign in to comment.