From e99287734ba96d8c37a94d079b1b0779c29a8926 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 29 Apr 2004 14:33:19 +0000 Subject: Gisle fixed the counting of calloc()s --- tests/memanalyze.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/memanalyze.pl') 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"; } -- cgit v1.2.3