cvs: ZendEngine2(PHP_5_2) / zend.c
| From: | Antony Dovgal | Date: | Thu, 11 May 2006 22:41:37 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_2) / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4869@lists.php.net to get a copy of this message | ||
tony2001 Thu May 11 22:41:37 2006 UTC
Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend.c
Log:
no need to destroy the zval here
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend.c?r1=1.308.2.12.2.4&r2=1.308.2.12.2.5&diff_format=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.308.2.12.2.4 ZendEngine2/zend.c:1.308.2.12.2.5
--- ZendEngine2/zend.c:1.308.2.12.2.4 Wed May 10 21:13:22 2006
+++ ZendEngine2/zend.c Thu May 11 22:41:37 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.308.2.12.2.4 2006/05/10 21:13:22 helly Exp $ */
+/* $Id: zend.c,v 1.308.2.12.2.5 2006/05/11 22:41:37 tony2001 Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -248,7 +248,6 @@
}
}
zend_error(EG(exception) ? E_ERROR : E_RECOVERABLE_ERROR, "Object of class %s could not be
converted to string", Z_OBJCE_P(expr)->name);
- zval_dtor(expr_copy);
expr_copy->value.str.len = 0;
expr_copy->value.str.val = STR_EMPTY_ALLOC();
}