summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-03-09 00:41:19 +0800
committerXinchen Hui <laruence@php.net>2015-03-09 00:41:19 +0800
commit4861e1bd6b3da84ba509ea1cc499db2cd269c400 (patch)
treeb8c60423bf423516c33aef729230761308049d63 /Zend/zend_alloc.c
parent5eabd979ffb2f0edb996baf91100197066a81a09 (diff)
downloadphp-git-4861e1bd6b3da84ba509ea1cc499db2cd269c400.tar.gz
Revert "Fixed memleak while using custom mm"
This reverts commit 5eabd979ffb2f0edb996baf91100197066a81a09.
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c3
1 files changed, 0 insertions, 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