summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2002-08-07 18:16:44 +0000
committerHarald Radi <phanto@php.net>2002-08-07 18:16:44 +0000
commite84bddf76aba5c5f27c5eb488794904ca45cd11c (patch)
tree32d5e86a78bebd4d3844a0216a8265ae396efed9
parent3001ecc948efe43926b7817f3a7479dfd94e3810 (diff)
downloadphp-git-e84bddf76aba5c5f27c5eb488794904ca45cd11c.tar.gz
dump memory leaks on shutdown
-rw-r--r--sapi/cgi/cgi_main.c4
1 files changed, 4 insertions, 0 deletions
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;
}
/* }}} */