aboutsummaryrefslogtreecommitdiff
path: root/memanalyze.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-02-20 13:58:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-02-20 13:58:56 +0000
commit5f3d63ed5b17ce1803b5e2b61b53d27ec732f302 (patch)
treefac229211cb1f34dc319a2f49f7b4619071ba859 /memanalyze.pl
parent63b5748eb656c632266ecad1521bfa5012ad3676 (diff)
downloadgnurl-5f3d63ed5b17ce1803b5e2b61b53d27ec732f302.tar.gz
gnurl-5f3d63ed5b17ce1803b5e2b61b53d27ec732f302.tar.bz2
gnurl-5f3d63ed5b17ce1803b5e2b61b53d27ec732f302.zip
bugfix
Diffstat (limited to 'memanalyze.pl')
-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";
}