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