mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
- Fix leak report for 0 byte allocations (Dmitry)
This commit is contained in:
parent
dae2423d11
commit
ec3aac1e86
@ -502,7 +502,7 @@ ZEND_API void shutdown_memory_manager(int silent, int full_shutdown TSRMLS_DC)
|
||||
unsigned int i, j;
|
||||
zend_mem_header *ptr;
|
||||
|
||||
for (i=1; i<MAX_CACHED_MEMORY; i++) {
|
||||
for (i=0; i<MAX_CACHED_MEMORY; i++) {
|
||||
for (j=0; j<AG(cache_count)[i]; j++) {
|
||||
ptr = (zend_mem_header *) AG(cache)[i][j];
|
||||
# if MEMORY_LIMIT
|
||||
|
Loading…
Reference in New Issue
Block a user