com php-src: Removed wrong reference counting: Zend/zend_inhe ritance.c

From: Date: Wed, 03 Oct 2018 17:15:30 +0000
Subject: com php-src: Removed wrong reference counting: Zend/zend_inhe ritance.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-103345@lists.php.net to get a copy of this message
Commit: 2ebac3263ba8f2efcaab1f7ca37a652636582058 Author: Dmitry Stogov <dmitry@zend.com> Wed, 3 Oct 2018 20:15:30 +0300 Parents: 969fdb717a2074169671289d6bee31435901b431 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2ebac3263ba8f2efcaab1f7ca37a652636582058 Log: Removed wrong reference counting Changed paths: M Zend/zend_inheritance.c Diff: diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index 4d20fcd..9a4efed 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -607,9 +607,6 @@ static void do_inheritance_check_on_method(zend_function *child, zend_function * zend_function *new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array)); memcpy(new_function, child, sizeof(zend_op_array)); Z_PTR_P(child_zv) = child = new_function; - if (child->op_array.refcount) { - (*child->op_array.refcount)++; - } } } child->common.prototype = proto;

« previous php.cvs (#103345) next »