aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmemanalyze.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/memanalyze.pl b/memanalyze.pl
index 86c967c8c..faca19c04 100755
--- a/memanalyze.pl
+++ b/memanalyze.pl
@@ -145,7 +145,7 @@ if($totalmem) {
for(keys %sizeataddr) {
$addr = $_;
$size = $sizeataddr{$addr};
- if($size) {
+ if($size > 0) {
print "At $addr, there's $size bytes.\n";
print " allocated by ".$getmem{$addr}."\n";
}