Hi,
this fixes a memory leak in Reflection_Property::getModifiers().

- Timm
Index: Zend/zend_reflection_api.c
===================================================================
RCS file: /repository/ZendEngine2/zend_reflection_api.c,v
retrieving revision 1.94
diff -u -r1.94 zend_reflection_api.c
--- Zend/zend_reflection_api.c	9 Mar 2004 16:38:34 -0000	1.94
+++ Zend/zend_reflection_api.c	28 Mar 2004 13:46:07 -0000
@@ -2702,8 +2702,6 @@
 	METHOD_NOTSTATIC_NUMPARAMS(0);
 	GET_REFLECTION_OBJECT_PTR(ref);
 
-	array_init(return_value);
-
 	RETURN_LONG(ref->prop->flags);
 }
 /* }}} */

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to