mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.0'
* PHP-8.0: Update zend_alloc.c
This commit is contained in:
commit
70bb12feec
1 changed files with 1 additions and 1 deletions
|
@ -1100,7 +1100,7 @@ static zend_always_inline void zend_mm_free_pages_ex(zend_mm_heap *heap, zend_mm
|
||||||
/* this setting may be not accurate */
|
/* this setting may be not accurate */
|
||||||
chunk->free_tail = page_num;
|
chunk->free_tail = page_num;
|
||||||
}
|
}
|
||||||
if (free_chunk && chunk->free_pages == ZEND_MM_PAGES - ZEND_MM_FIRST_PAGE) {
|
if (free_chunk && chunk != heap->main_chunk && chunk->free_pages == ZEND_MM_PAGES - ZEND_MM_FIRST_PAGE) {
|
||||||
zend_mm_delete_chunk(heap, chunk);
|
zend_mm_delete_chunk(heap, chunk);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue