- Fixed a purify warning

This commit is contained in:
Andi Gutmans 1999-07-12 18:07:01 +00:00
parent fa764cb027
commit 4dc22e32b6

View File

@ -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;