cvs: ZendEngine2 / zend_operators.c
| From: | Marcus Boerger | Date: | Sun, 05 Feb 2006 16:25:46 +0000 |
| Subject: | cvs: ZendEngine2 / zend_operators.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4556@lists.php.net to get a copy of this message | ||
helly Sun Feb 5 16:25:46 2006 UTC
Modified files:
/ZendEngine2 zend_operators.c
Log:
- Initialize variable
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_operators.c?r1=1.227&r2=1.228&diff_format=u
Index: ZendEngine2/zend_operators.c
diff -u ZendEngine2/zend_operators.c:1.227 ZendEngine2/zend_operators.c:1.228
--- ZendEngine2/zend_operators.c:1.227 Sun Feb 5 13:12:20 2006
+++ ZendEngine2/zend_operators.c Sun Feb 5 16:25:46 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_operators.c,v 1.227 2006/02/05 13:12:20 helly Exp $ */
+/* $Id: zend_operators.c,v 1.228 2006/02/05 16:25:46 helly Exp $ */
#include <ctype.h>
@@ -1539,6 +1539,7 @@
} else if (!op2_obj && Z_OBJ_HT_P(op1)->cast_object) {
ALLOC_INIT_ZVAL(op1_free);
if (Z_OBJ_HT_P(op1)->cast_object(op1, op1_free, Z_TYPE_P(op2) TSRMLS_CC) == FAILURE) {
+ op2_free = NULL;
ZVAL_BOOL(result, 0);
COMPARE_RETURN_AND_FREE(FAILURE);
}