summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-12-12 11:00:57 +0000
committerfoobar <sniper@php.net>2005-12-12 11:00:57 +0000
commit379cd5a6df99f2a5388e88400daca3e0509aa476 (patch)
tree21af176e6826649cbff6e9f811932c06f897475a
parentdb312cf18e4960278c2a0fb771d1a4dbf0a4ea76 (diff)
downloadphp-git-379cd5a6df99f2a5388e88400daca3e0509aa476.tar.gz
MFH:- Include timestamp for the leaks. (to make possible matching leaks with access_log entries)
-rw-r--r--Zend/zend_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index c9d18f31e2..bd1df1b470 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -558,6 +558,7 @@ ZEND_API void shutdown_memory_manager(int silent, int full_shutdown TSRMLS_DC)
grand_total_leaks++;
if (!silent) {
+ zend_message_dispatcher(ZMSG_LOG_SCRIPT_NAME, NULL);
zend_message_dispatcher(ZMSG_MEMORY_LEAK_DETECTED, t);
}
t->reported = 1;