mirror of
https://github.com/php/php-src.git
synced 2024-12-05 07:46:06 +08:00
- Fix leak (Dmitry)
This commit is contained in:
parent
026b92df42
commit
7c9694d26e
@ -1583,6 +1583,7 @@ static inline int zend_binary_assign_op_obj_helper(int (*binary_op)(zval *result
|
||||
if (object->type != IS_OBJECT) {
|
||||
zend_error(E_WARNING, "Attempt to assign property of non-object");
|
||||
FREE_OP(Ts, op2, EG(free_op2));
|
||||
FREE_OP(Ts, value, free_value);
|
||||
|
||||
*retval = EG(uninitialized_zval_ptr);
|
||||
|
||||
@ -1659,6 +1660,7 @@ static inline int zend_binary_assign_op_obj_helper(int (*binary_op)(zval *result
|
||||
}
|
||||
|
||||
FREE_OP(Ts, op2, EG(free_op2));
|
||||
FREE_OP(Ts, value, free_value);
|
||||
}
|
||||
|
||||
/* assign_obj has two opcodes! */
|
||||
|
Loading…
Reference in New Issue
Block a user