Fix counting number of leaks

This commit is contained in:
Marcus Boerger 2003-08-20 22:15:01 +00:00
parent 6f88d49d6c
commit 56e8757d77

View File

@ -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