From 4861e1bd6b3da84ba509ea1cc499db2cd269c400 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 9 Mar 2015 00:41:19 +0800 Subject: [PATCH] Revert "Fixed memleak while using custom mm" This reverts commit 5eabd979ffb2f0edb996baf91100197066a81a09. --- Zend/zend_alloc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 6701ca4902..b066eb0b1f 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -1950,9 +1950,6 @@ void zend_mm_shutdown(zend_mm_heap *heap, int full, int silent) #if ZEND_MM_CUSTOM if (heap->use_custom_heap) { - if (full) { - heap->_free(heap); - } return; } #endif -- 2.40.0