summaryrefslogtreecommitdiff
path: root/sapi/cgi
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-08-19 13:46:39 +0000
committerEdin Kadribasic <edink@php.net>2002-08-19 13:46:39 +0000
commit1fb6a30f0fac261559af6f990e7417c360aca036 (patch)
tree0bbea3849be159fecac2495795156a91685333b5 /sapi/cgi
parent2282ac607485524945359d6b394018d89c9eb08f (diff)
downloadphp-git-1fb6a30f0fac261559af6f990e7417c360aca036.tar.gz
Debug functions should only work in debug mode.
Diffstat (limited to 'sapi/cgi')
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
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