diff options
author | Andi Gutmans <andi@php.net> | 1999-08-26 07:33:53 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-08-26 07:33:53 +0000 |
commit | 02822cbc338774ff7fa6071215fdb9ebca8b1953 (patch) | |
tree | 2d4a09a63d5d4eac3b40897a6d8cb4d3e25ef4c1 /Zend | |
parent | 2c88f2950cb67c204e417881cb84ee5e4d23d190 (diff) | |
download | php-git-02822cbc338774ff7fa6071215fdb9ebca8b1953.tar.gz |
- Damn. It wasn't a correct fix. This should do it.
When the zval ** are equal we don't want to assign_ref, in any other case
I can think of we do want to assign_ref.
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 6eacb7419f..993cd3924f 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -471,7 +471,7 @@ ZEND_API inline void zend_assign_to_variable_reference(znode *result, zval **var if (variable_ptr == EG(error_zval_ptr) || value_ptr==EG(error_zval_ptr)) { variable_ptr_ptr = &EG(uninitialized_zval_ptr); // } else if (variable_ptr==&EG(uninitialized_zval) || variable_ptr!=value_ptr) { - } else if (variable_ptr != value_ptr) { + } else if (variable_ptr_ptr != value_ptr_ptr) { variable_ptr->refcount--; if (variable_ptr->refcount==0) { zendi_zval_dtor(*variable_ptr); |