summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-03-28 13:55:06 +0000
committerMarcus Boerger <helly@php.net>2004-03-28 13:55:06 +0000
commit83675b66223ba98987f3067052be6d06fffdea14 (patch)
tree0db2ef3e02904e1569ac1c184f14c525ade4d51d /ext/reflection/php_reflection.c
parent9091bf8e5fdcf54393ea2e06bc518dd65eb2989c (diff)
downloadphp-git-83675b66223ba98987f3067052be6d06fffdea14.tar.gz
Fix memleak found by Timm
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 97b71d5059..5fb2aa9a4a 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -2702,8 +2702,6 @@ ZEND_METHOD(reflection_property, getModifiers)
METHOD_NOTSTATIC_NUMPARAMS(0);
GET_REFLECTION_OBJECT_PTR(ref);
- array_init(return_value);
-
RETURN_LONG(ref->prop->flags);
}
/* }}} */