summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-08-20 23:27:04 +0000
committerZeev Suraski <zeev@php.net>2003-08-20 23:27:04 +0000
commit1e70f451122836ae9d42d4f8948e41a9ec7e9cf2 (patch)
tree822e645bfc5126153bab7b1145aa9edb58f84df7 /Zend/zend_alloc.c
parent7b4ec88d7620fa651ba8d5575c4de35002b619b1 (diff)
downloadphp-git-1e70f451122836ae9d42d4f8948e41a9ec7e9cf2.tar.gz
adhere to silence
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index cf93d722ba..4f02af00d4 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -563,7 +563,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC)
}
}
- if (grand_total_leaks > 0) {
+ if (!silent && grand_total_leaks > 0) {
zend_message_dispatcher(ZMSG_MEMORY_LEAKS_GRAND_TOTAL, &grand_total_leaks);
}