mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
MFH: Fixed bug #54957 (Memleak in alloc_globals_ctor)
This commit is contained in:
parent
eaeb4537ec
commit
6fca028fc5
@ -1602,6 +1602,9 @@ ZEND_API void zend_mm_shutdown(zend_mm_heap *heap, int full_shutdown, int silent
|
||||
int internal;
|
||||
|
||||
if (!heap->use_zend_alloc) {
|
||||
if (full_shutdown) {
|
||||
free(heap);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user