cvs: ZendEngine2 / zend_object_handlers.c
| From: | Marcus Boerger | Date: | Fri, 11 Mar 2005 00:44:34 +0000 |
| Subject: | cvs: ZendEngine2 / zend_object_handlers.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3473@lists.php.net to get a copy of this message | ||
helly Thu Mar 10 19:44:34 2005 EDT
Modified files:
/ZendEngine2 zend_object_handlers.c
Log:
- Don't touch refcount/is_ref
http://cvs.php.net/diff.php/ZendEngine2/zend_object_handlers.c?r1=1.110&r2=1.111&ty=u
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.110 ZendEngine2/zend_object_handlers.c:1.111
--- ZendEngine2/zend_object_handlers.c:1.110 Sun Feb 27 17:22:26 2005
+++ ZendEngine2/zend_object_handlers.c Thu Mar 10 19:44:34 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_object_handlers.c,v 1.110 2005/02/27 22:22:26 helly Exp $ */
+/* $Id: zend_object_handlers.c,v 1.111 2005/03/11 00:44:34 helly Exp $ */
#include "zend.h"
#include "zend_globals.h"
@@ -518,9 +518,7 @@
zend_call_method_with_2_params(&this_ptr, ce, &ce->__call, ZEND_CALL_FUNC_NAME,
&method_result_ptr, method_name_ptr, method_args_ptr);
if (method_result_ptr) {
- *return_value = *method_result_ptr;
- zval_copy_ctor(return_value);
- zval_ptr_dtor(&method_result_ptr);
+ RETVAL_ZVAL(method_result_ptr, 0, 1);
}
/* now destruct all auxiliaries */