aboutsummaryrefslogtreecommitdiff
path: root/tests/memanalyze.pl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-14 19:40:18 +0000
committerYang Tse <yangsita@gmail.com>2010-02-14 19:40:18 +0000
commita07bc79117971b96ebf3188c0a34a73ee0a3609b (patch)
tree4c5f985bd2bd407871dfc9d4bc8c05cbaa9851e2 /tests/memanalyze.pl
parent2268657272e591948467135dcd713bd80e3212b3 (diff)
removed trailing whitespace
Diffstat (limited to 'tests/memanalyze.pl')
-rwxr-xr-xtests/memanalyze.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/memanalyze.pl b/tests/memanalyze.pl
index 763f9a3b9..232d2dde5 100755
--- a/tests/memanalyze.pl
+++ b/tests/memanalyze.pl
@@ -176,7 +176,7 @@ while(<FILE>) {
newtotal($totalmem);
$reallocs++;
-
+
$getmem{$oldaddr}="";
$getmem{$newaddr}="$source:$linenum";
}
@@ -192,7 +192,7 @@ while(<FILE>) {
$totalmem += $size;
if($trace) {
- printf("STRDUP: $size bytes at %s, makes totally: %d bytes\n",
+ printf("STRDUP: $size bytes at %s, makes totally: %d bytes\n",
$getmem{$addr}, $totalmem);
}
@@ -201,7 +201,7 @@ while(<FILE>) {
}
else {
print "Not recognized input line: $function\n";
- }
+ }
}
# FD url.c:1282 socket() = 5
elsif($_ =~ /^FD ([^ ]*):(\d*) (.*)/) {
@@ -297,7 +297,7 @@ while(<FILE>) {
printf("FREEADDRINFO ($source:$linenum)\n");
}
}
-
+
}
else {
print "Not recognized prefix line: $line\n";