diff options
-rw-r--r-- | sapi/cgi/cgi_main.c | 4 |
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; } /* }}} */ |