mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Fix counting number of leaks
This commit is contained in:
parent
6f88d49d6c
commit
56e8757d77
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user