From: Edin Kadribasic Date: Mon, 19 Aug 2002 13:46:39 +0000 (+0000) Subject: Debug functions should only work in debug mode. X-Git-Tag: RELEASE_0_91~397 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fb6a30f0fac261559af6f990e7417c360aca036;p=php Debug functions should only work in debug mode. --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index f369823c56..62eb7e0668 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1136,7 +1136,7 @@ consult the installation file that came with this distribution, or visit \n\ tsrm_shutdown(); #endif -#ifdef PHP_WIN32 +#if PHP_WIN32 && ZEND_DEBUG _CrtDumpMemoryLeaks( ); #endif