com php-src: Revert "Fixed memleak while using custom mm": Zend/zend_alloc.c
| From: | Xinchen Hui | Date: | Sun, 08 Mar 2015 16:41:19 +0000 |
| Subject: | com php-src: Revert "Fixed memleak while using custom mm": Zend/zend_alloc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85329@lists.php.net to get a copy of this message | ||
Commit: 4861e1bd6b3da84ba509ea1cc499db2cd269c400
Author: Xinchen Hui <laruence@php.net> Mon, 9 Mar 2015 00:41:19 +0800
Parents: 5eabd979ffb2f0edb996baf91100197066a81a09
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4861e1bd6b3da84ba509ea1cc499db2cd269c400
Log:
Revert "Fixed memleak while using custom mm"
This reverts commit 5eabd979ffb2f0edb996baf91100197066a81a09.
Changed paths:
M Zend/zend_alloc.c
Diff:
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 6701ca4..b066eb0 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