aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/memanalyze.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/memanalyze.pl b/tests/memanalyze.pl
index eaa8b5fe9..743b71629 100755
--- a/tests/memanalyze.pl
+++ b/tests/memanalyze.pl
@@ -7,6 +7,7 @@
# MEM sendf.c:232 free(f6520)
my $mallocs=0;
+my $callocs=0;
my $reallocs=0;
my $strdups=0;
my $showlimit;
@@ -342,10 +343,10 @@ if($addrinfos) {
if($verbose) {
print "Mallocs: $mallocs\n",
"Reallocs: $reallocs\n",
- "Callocs: $callcs\n",
+ "Callocs: $callocs\n",
"Strdups: $strdups\n",
"Frees: $frees\n",
- "Allocations: ".($mallocs + $reallocs + $strdups)."\n";
+ "Allocations: ".($mallocs + $callocs + $reallocs + $strdups)."\n";
print "Maximum allocated: $maxmem\n";
}