diff options
author | Andi Gutmans <andi@php.net> | 1999-07-12 18:07:01 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-07-12 18:07:01 +0000 |
commit | 4dc22e32b66b21766f484fbdbd44f2469ea636d0 (patch) | |
tree | 54025a9252e63f0f9a38f9ab547160023053c013 | |
parent | fa764cb0279be8202749bad608aa5a7b3d781ff7 (diff) | |
download | php-git-4dc22e32b66b21766f484fbdbd44f2469ea636d0.tar.gz |
- Fixed a purify warning
-rw-r--r-- | Zend/zend_execute.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 5c5218dde3..66acaec926 100644 --- a/Zend/zend_execute.c +++ b/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; |