summaryrefslogtreecommitdiff
path: root/Zend/zend_reflection_api.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-05-31 21:46:00 +0000
committerMarcus Boerger <helly@php.net>2004-05-31 21:46:00 +0000
commit20b60f49d98094f11e8a6cc44eb9defd8ef090c3 (patch)
tree7f44a559b594626f2d75809c6d7a5ed2eba6e580 /Zend/zend_reflection_api.c
parent21315c08b7a37b0c397773c79f3447bc80698686 (diff)
downloadphp-git-20b60f49d98094f11e8a6cc44eb9defd8ef090c3.tar.gz
Add missing initialization
Diffstat (limited to 'Zend/zend_reflection_api.c')
-rw-r--r--Zend/zend_reflection_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c
index cfc84fca6c..b6727460f7 100644
--- a/Zend/zend_reflection_api.c
+++ b/Zend/zend_reflection_api.c
@@ -941,6 +941,9 @@ static void _reflection_export(INTERNAL_FUNCTION_PARAMETERS, zend_class_entry *c
}
}
+ INIT_PZVAL(&output);
+ output.refcount = 1;
+
/* Create object */
INIT_PZVAL(&reflector);
if (object_and_properties_init(&reflector, ce_ptr, NULL) == FAILURE) {