mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fixed double free
This commit is contained in:
parent
2614d945f8
commit
13f0c8b18c
@ -6256,9 +6256,6 @@ void zend_do_indirect_references(znode *result, const znode *num_references, zno
|
||||
if (CG(active_op_array)->scope && CG(active_op_array)->this_var == -1) {
|
||||
zend_string *key = STR_INIT("this", sizeof("this")-1, 0);
|
||||
CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), key TSRMLS_CC);
|
||||
if (CG(active_op_array)->vars[EX_VAR_TO_NUM(CG(active_op_array)->this_var)] != key) {
|
||||
STR_RELEASE(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user