Browse Source

- Fixed a purify warning

experimental/newoperator
Andi Gutmans 27 years ago
parent
commit
4dc22e32b6
  1. 4
      Zend/zend_execute.c

4
Zend/zend_execute.c

@ -264,7 +264,9 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2
short refcount=variable_ptr->refcount;
previous_lock_count = variable_ptr->EA.locks;
value->refcount++;
if (type!=IS_TMP_VAR) {
value->refcount++;
}
zendi_zval_dtor(*variable_ptr);
*variable_ptr = *value;
variable_ptr->refcount = refcount;

Loading…
Cancel
Save