com php-src: Removed efree() on arena_alloc()ed memory : Zend/zend_compile.c

From: Date: Wed, 21 Jan 2015 22:52:48 +0000
Subject: com php-src: Removed efree() on arena_alloc()ed memory : Zend/zend_compile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84294@lists.php.net to get a copy of this message
Commit: bd629428a6baa9a7a95726b05d5d5d5c4dcf5423 Author: Bob Weinand <bobwei9@hotmail.com> Wed, 21 Jan 2015 23:52:48 +0100 Parents: 295926855bf49e39e43e03fde46d300b158d6536 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bd629428a6baa9a7a95726b05d5d5d5c4dcf5423 Log: Removed efree() on arena_alloc()ed memory Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c450108..274920c 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) {

« previous php.cvs (#84294) next »