From: Daniel Stenberg Date: Thu, 29 Apr 2004 14:33:19 +0000 (+0000) Subject: Gisle fixed the counting of calloc()s X-Git-Tag: curl-7_12_0~240 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e99287734ba96d8c37a94d079b1b0779c29a8926;p=thirdparty%2Fcurl.git Gisle fixed the counting of calloc()s --- diff --git a/tests/memanalyze.pl b/tests/memanalyze.pl index eaa8b5fe91..743b716293 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"; }