cvs: ZendEngine2 / zend_reflection_api.c
| From: | Dmitry Stogov | Date: | Tue, 30 Aug 2005 07:20:00 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4081@lists.php.net to get a copy of this message | ||
dmitry Tue Aug 30 03:20:00 2005 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
Fixed possible memory leak
http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.173&r2=1.174&ty=u
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.173 ZendEngine2/zend_reflection_api.c:1.174
--- ZendEngine2/zend_reflection_api.c:1.173 Mon Aug 29 18:11:53 2005
+++ ZendEngine2/zend_reflection_api.c Tue Aug 30 03:19:59 2005
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.173 2005/08/29 22:11:53 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.174 2005/08/30 07:19:59 dmitry Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_exceptions.h"
@@ -3480,6 +3480,7 @@
*return_value= **member;
zval_copy_ctor(return_value);
+ INIT_PZVAL(return_value);
}
/* }}} */