Skip to content

Commit 2ebac32

Browse files
committed
Removed wrong reference counting
1 parent 969fdb7 commit 2ebac32

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Zend/zend_inheritance.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,6 @@ static void do_inheritance_check_on_method(zend_function *child, zend_function *
607607
zend_function *new_function = zend_arena_alloc(&CG(arena), sizeof(zend_op_array));
608608
memcpy(new_function, child, sizeof(zend_op_array));
609609
Z_PTR_P(child_zv) = child = new_function;
610-
if (child->op_array.refcount) {
611-
(*child->op_array.refcount)++;
612-
}
613610
}
614611
}
615612
child->common.prototype = proto;

0 commit comments

Comments
 (0)