cvs: php4 /sapi/cgi cgi_main.c
| From: | Harald Radi | Date: | Wed, 07 Aug 2002 18:16:44 +0000 |
| Subject: | cvs: php4 /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13196@lists.php.net to get a copy of this message | ||
phanto Wed Aug 7 14:16:44 2002 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
dump memory leaks on shutdown
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.177 php4/sapi/cgi/cgi_main.c:1.178
--- php4/sapi/cgi/cgi_main.c:1.177 Thu Jul 4 04:13:19 2002
+++ php4/sapi/cgi/cgi_main.c Wed Aug 7 14:16:44 2002
@@ -1136,6 +1136,10 @@
tsrm_shutdown();
#endif
+#ifdef PHP_WIN32
+ _CrtDumpMemoryLeaks( );
+#endif
+
return exit_status;
}
/* }}} */