MFH: Fixed bug #54957 (Memleak in alloc_globals_ctor)

This commit is contained in:
Dmitry Stogov 2011-05-31 11:38:31 +00:00
parent eaeb4537ec
commit 6fca028fc5

View File

@ -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;
}