Skip to content

Commit e88ec6d

Browse files
committed
Final
1 parent e5ca924 commit e88ec6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Zend/zend_alloc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2363,7 +2363,9 @@ static size_t _zend_mm_gc(zend_mm_heap *heap)
23632363
if (heap->use_custom_heap) {
23642364
size_t (*gc)(void) = heap->custom_heap._gc;
23652365
if (gc) {
2366-
return gc();
2366+
size_t ret = gc();
2367+
ZEND_MM_UNPOISON_HEAP(heap);
2368+
return ret;
23672369
}
23682370
return 0;
23692371
}

0 commit comments

Comments
 (0)