summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2003-10-14 17:26:36 +0000
committerAndi Gutmans <andi@php.net>2003-10-14 17:26:36 +0000
commita24df5cf55979db09ecf07e4a94d363ef965e789 (patch)
tree0ed56c17f4c130711ee98e472b421a5669f50b27 /Zend/zend_alloc.c
parent01ba151cc3dbd35bdd3d2ba3dfe15ae32a02cf30 (diff)
downloadphp-git-a24df5cf55979db09ecf07e4a94d363ef965e789.tar.gz
- Fix compile problem.
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 6e153cbedb..f2d6a44f53 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -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;