--- parser3/src/targets/cgi/parser3.C 2001/04/28 13:49:24 1.75 +++ parser3/src/targets/cgi/parser3.C 2001/05/15 10:48:53 1.77 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: parser3.C,v 1.75 2001/04/28 13:49:24 paf Exp $ + $Id: parser3.C,v 1.77 2001/05/15 10:48:53 parser Exp $ */ #include "pa_config_includes.h" @@ -15,8 +15,8 @@ #endif #include "pa_sapi.h" +#include "classes.h" #include "pa_common.h" -#include "pa_methoded.h" #include "pa_request.h" #include "pa_socks.h" #include "pa_version.h" @@ -278,6 +278,13 @@ int main(int argc, char *argv[]) { // done_socks(); + extern size_t malloc_total, calloc_total; + extern size_t malloc_times, calloc_times; + SAPI::log(pool, + "malloc %d/%d, calloc %d/%d", + malloc_total, malloc_times, + calloc_total, calloc_times); + // must be last in PTRY{}PCATCH #ifdef WIN32 SetUnhandledExceptionFilter(0);