1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00

Merge branch 'PHP-8.0'

* PHP-8.0:
  Fixed memory leak
This commit is contained in:
Dmitry Stogov
2020-10-27 01:20:46 +03:00

View File

@@ -5743,9 +5743,9 @@ done:
&& (init_opline->opcode != ZEND_INIT_METHOD_CALL
|| init_opline->op1_type == IS_UNDEF)
&& (init_opline->opcode != ZEND_INIT_USER_CALL
|| init_opline->op2_type == IS_CONST) /* no closure */
|| (p->func && (!p->func->common.scope || (p->func->common.fn_flags & ZEND_ACC_STATIC))))
&& (init_opline->opcode != ZEND_INIT_DYNAMIC_CALL
|| init_opline->op2_type == IS_CONST) /* no closure */
|| (p->func && (!p->func->common.scope || (p->func->common.fn_flags & ZEND_ACC_STATIC))))
) {
TRACE_FRAME_SET_NO_NEED_RELEASE_THIS(call);
}