Add missing initialization

This commit is contained in:
Marcus Boerger 2004-05-31 21:46:00 +00:00
parent 21315c08b7
commit 20b60f49d9
2 changed files with 6 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {