cvs: Zend(PHP_4_3) / zend_execute.c

From: Date: Tue, 17 Jun 2003 17:21:39 +0000
Subject: cvs: Zend(PHP_4_3) / zend_execute.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1388@lists.php.net to get a copy of this message
derick Tue Jun 17 13:21:39 2003 EDT Modified files: (Branch: PHP_4_3) /Zend zend_execute.c Log: - spaces to tabs Index: Zend/zend_execute.c diff -u Zend/zend_execute.c:1.316.2.12 Zend/zend_execute.c:1.316.2.13 --- Zend/zend_execute.c:1.316.2.12 Tue Jun 17 11:39:22 2003 +++ Zend/zend_execute.c Tue Jun 17 13:21:39 2003 @@ -376,15 +376,15 @@ if (op2->op_type == IS_VAR) { if (value == &Ts[op2->u.var].tmp_var) { if(result->u.EA.type & EXT_TYPE_UNUSED) { - /* We are not going to use return value, drop it */ - STR_FREE(value->value.str.val); - } else { - /* We are going to use return value, make it real zval */ - ALLOC_ZVAL(value); - *value = Ts[op2->u.var].tmp_var; - value->is_ref = 0; - value->refcount = 0; /* LOCK will increase it */ - } + /* We are not going to use return value, drop it */ + STR_FREE(value->value.str.val); + } else { + /* We are going to use return value, make it real zval */ + ALLOC_ZVAL(value); + *value = Ts[op2->u.var].tmp_var; + value->is_ref = 0; + value->refcount = 0; /* LOCK will increase it */ + } } } else { if (final_value == &Ts[op2->u.var].tmp_var) {

« previous php.zend-engine.cvs (#1388) next »