bugfix
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Feb 2001 13:58:56 +0000 (13:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Feb 2001 13:58:56 +0000 (13:58 +0000)
memanalyze.pl

index 86c967c..faca19c 100755 (executable)
@@ -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";
         }