From: Bob Weinand Date: Wed, 21 Jan 2015 22:52:48 +0000 (+0100) Subject: Removed efree() on arena_alloc()ed memory X-Git-Tag: PRE_PHP7_REMOVALS~25^2~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd629428a6baa9a7a95726b05d5d5d5c4dcf5423;p=php Removed efree() on arena_alloc()ed memory --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c450108411..274920c459 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -907,7 +907,6 @@ ZEND_API int do_bind_function(const zend_op_array *op_array, const zend_op *opli int error_level = compile_time ? E_COMPILE_ERROR : E_ERROR; zend_function *old_function; - efree_size(new_function, sizeof(zend_op_array)); if ((old_function = zend_hash_find_ptr(function_table, Z_STR_P(op2))) != NULL && old_function->type == ZEND_USER_FUNCTION && old_function->op_array.last > 0) {