]> granicus.if.org Git - php/commitdiff
- Fix compile problem.
authorAndi Gutmans <andi@php.net>
Tue, 14 Oct 2003 17:26:36 +0000 (17:26 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 14 Oct 2003 17:26:36 +0000 (17:26 +0000)
Zend/zend_alloc.c

index 6e153cbedb664aeba993c25ae001bbf277397d79..f2d6a44f535cb28b7943535e7efe89ec8c7bc15b 100644 (file)
@@ -567,9 +567,11 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC)
                }
        }
 
+#if ZEND_DEBUG
        if (!silent && grand_total_leaks > 0) {
                zend_message_dispatcher(ZMSG_MEMORY_LEAKS_GRAND_TOTAL, &grand_total_leaks);
        }
+#endif
 
 #if MEMORY_LIMIT
        AG(memory_exhausted)=0;