cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c

From: Date: Sun, 18 Sep 2005 10:38:29 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4140@lists.php.net to get a copy of this message
tony2001 Sun Sep 18 06:38:29 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_reflection_api.c Log: fix leaks this problem is in 5.0 only, while 5.1 & HEAD work fine and I'd appreciate if someone explain me why.. http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.111.2.26&r2=1.111.2.27&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.111.2.26 ZendEngine2/zend_reflection_api.c:1.111.2.27 --- ZendEngine2/zend_reflection_api.c:1.111.2.26 Fri Sep 16 16:22:14 2005 +++ ZendEngine2/zend_reflection_api.c Sun Sep 18 06:38:25 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.111.2.26 2005/09/16 20:22:14 tony2001 Exp $ */ +/* $Id: zend_reflection_api.c,v 1.111.2.27 2005/09/18 10:38:25 tony2001 Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -539,7 +539,7 @@ string_write(str, " = ", sizeof(" = ")-1); zv_copy = precv->op2.u.constant; zv = &zv_copy; - zval_update_constant(&zv, (void*)1 TSRMLS_CC); + zval_update_constant(&zv, (void*)0 TSRMLS_CC); if (Z_TYPE_P(zv) == IS_NULL) { string_write(str, "NULL", sizeof("NULL")-1); } else if (Z_TYPE_P(zv) == IS_STRING) {

« previous php.zend-engine.cvs (#4140) next »