mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Don't keep dangling pointer.
This commit is contained in:
parent
97b85364a5
commit
1b8bf059c4
@ -2147,6 +2147,7 @@ void zend_mm_shutdown(zend_mm_heap *heap, int full, int silent)
|
||||
|
||||
/* free huge blocks */
|
||||
list = heap->huge_list;
|
||||
heap->huge_list = NULL;
|
||||
while (list) {
|
||||
zend_mm_huge_list *q = list;
|
||||
list = list->next;
|
||||
|
Loading…
Reference in New Issue
Block a user