- Fix leak (Dmitry)

This commit is contained in:
Andi Gutmans 2004-03-02 10:13:43 +00:00
parent 026b92df42
commit 7c9694d26e

View File

@ -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! */