Patch fix_com_print_typeinfo for COM related Bug #79299
Patch version 2020-02-23 18:01 UTC
Return to Bug #79299 |
Download this patch
Patch Revisions:
Developer: litiano.moura@yahoo.com.br
diff --git a/ext/com_dotnet/com_typeinfo.c b/ext/com_dotnet/com_typeinfo.c
index fe1d18f5d6..c92d0d7b66 100644
--- a/ext/com_dotnet/com_typeinfo.c
+++ b/ext/com_dotnet/com_typeinfo.c
@@ -509,9 +509,9 @@ int php_com_process_typeinfo(ITypeInfo *typeinfo, HashTable *id_to_name, int pri
}
/* So we've got the dispatch interface; lets list the event methods */
+ DISPID lastid = 0; /* for props */
for (i = 0; i < attr->cFuncs; i++) {
zval tmp;
- DISPID lastid = 0; /* for props */
int isprop;
if (FAILED(ITypeInfo_GetFuncDesc(typeinfo, i, &func)))
|