summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-20 22:15:01 +0000
committerMarcus Boerger <helly@php.net>2003-08-20 22:15:01 +0000
commit56e8757d77f8dda548eb8350d2306ab8cb27a8ac (patch)
tree2e63b99513dbcd8f5ab6243e8d319b500fd1f5cf /Zend/zend_alloc.c
parent6f88d49d6cb998321292abe20fc1e5a07dea5ec2 (diff)
downloadphp-git-56e8757d77f8dda548eb8350d2306ab8cb27a8ac.tar.gz
Fix counting number of leaks
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 509af4a759..cf93d722ba 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -548,6 +548,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC)
if (!silent && total_leak_count>0) {
zend_message_dispatcher(ZMSG_MEMORY_LEAK_REPEATED, (void *) (long) (total_leak_count));
}
+ grand_total_leaks += total_leak_count;
}
#endif
#if MEMORY_LIMIT