]> granicus.if.org Git - php/commitdiff
adhere to silence
authorZeev Suraski <zeev@php.net>
Wed, 20 Aug 2003 23:27:04 +0000 (23:27 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 20 Aug 2003 23:27:04 +0000 (23:27 +0000)
Zend/zend_alloc.c

index cf93d722bacceeb64684ffcb44adbefab07b01d1..4f02af00d4386fd765a8f519c564be7a6a7093d8 100644 (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);
        }