]> granicus.if.org Git - php/commitdiff
dump memory leaks on shutdown
authorHarald Radi <phanto@php.net>
Wed, 7 Aug 2002 18:16:44 +0000 (18:16 +0000)
committerHarald Radi <phanto@php.net>
Wed, 7 Aug 2002 18:16:44 +0000 (18:16 +0000)
sapi/cgi/cgi_main.c

index ad4d634169ab8a3d5cb0fe781b2dac7b01f6e9e6..f369823c56201ba201456a8971ebc384a30d3754 100644 (file)
@@ -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;
 }
 /* }}} */