]> granicus.if.org Git - php/commitdiff
- Reverse my patch
authorAndi Gutmans <andi@php.net>
Thu, 7 Oct 1999 04:38:03 +0000 (04:38 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 7 Oct 1999 04:38:03 +0000 (04:38 +0000)
Zend/zend_execute.c

index 204a8b1f95e9e7c610acaa3bc782beefbc1e1539..6133ac6babd5e0ebf31ca1125cfe6886737c2f3d 100644 (file)
@@ -1492,9 +1492,9 @@ do_fcall_common:
                                        *tmp = *object.ptr;
                                        zendi_zval_copy_ctor(*tmp);
                                                                        object.ptr = tmp;
-                                                                       object.ptr_ptr = &tmp;
+                                                                       *object.ptr_ptr = tmp;
                                        }
-                                       object.ptr->refcount = 0;
+                                       object.ptr->refcount = 1;
                                        object.ptr->is_ref = 1;
                                        }
                                                        *this_ptr = object.ptr;