00db10
commit 74589f738efd72e07f759a4aabd2e32613aaefb8
00db10
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
00db10
Date:   Tue Sep 1 08:35:38 2015 -0700
00db10
00db10
    Filter out NULL entries.
00db10
00db10
diff --git a/malloc/mtrace.pl b/malloc/mtrace.pl
00db10
index adf61c73737160fb..c48e227e9fee8521 100644
00db10
--- a/malloc/mtrace.pl
00db10
+++ b/malloc/mtrace.pl
00db10
@@ -167,7 +167,7 @@ while (<DATA>) {
00db10
 		printf ("+ %#0@XXX@x Alloc %d duplicate: %s %s\n",
00db10
 			hex($allocaddr), $nr, &location($addrwas{$allocaddr}),
00db10
 			$where);
00db10
-	    } else {
00db10
+	    } elsif ($allocaddr =~ /^0x/) {
00db10
 		$allocated{$allocaddr}=$howmuch;
00db10
 		$addrwas{$allocaddr}=$where;
00db10
 	    }