adhere to silence

This commit is contained in:
Zeev Suraski 2003-08-20 23:27:04 +00:00
parent 7b4ec88d76
commit 1e70f45112

View File

@ -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);
}