]> granicus.if.org Git - php/commitdiff
Debug functions should only work in debug mode.
authorEdin Kadribasic <edink@php.net>
Mon, 19 Aug 2002 13:46:39 +0000 (13:46 +0000)
committerEdin Kadribasic <edink@php.net>
Mon, 19 Aug 2002 13:46:39 +0000 (13:46 +0000)
sapi/cgi/cgi_main.c

index f369823c56201ba201456a8971ebc384a30d3754..62eb7e06689e147a6a2e19aef672095a3e1fe40e 100644 (file)
@@ -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