From: Harald Radi Date: Wed, 7 Aug 2002 18:16:44 +0000 (+0000) Subject: dump memory leaks on shutdown X-Git-Tag: php-4.3.0dev_zend2_alpha3~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e84bddf76aba5c5f27c5eb488794904ca45cd11c;p=php dump memory leaks on shutdown --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index ad4d634169..f369823c56 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1136,6 +1136,10 @@ consult the installation file that came with this distribution, or visit \n\ tsrm_shutdown(); #endif +#ifdef PHP_WIN32 + _CrtDumpMemoryLeaks( ); +#endif + return exit_status; } /* }}} */