]> granicus.if.org Git - php/commitdiff
Revert "Fixed memleak while using custom mm"
authorXinchen Hui <laruence@php.net>
Sun, 8 Mar 2015 16:41:19 +0000 (00:41 +0800)
committerXinchen Hui <laruence@php.net>
Sun, 8 Mar 2015 16:41:19 +0000 (00:41 +0800)
This reverts commit 5eabd979ffb2f0edb996baf91100197066a81a09.

Zend/zend_alloc.c

index 6701ca49028b55e33893fc2ae8fee56d0a66ce5f..b066eb0b1fb3d1c16fffe2244d42601637b1e6ce 100644 (file)
@@ -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