mirror of
https://github.com/reactos/wine.git
synced 2025-01-05 18:49:06 +00:00
hnetcfg: Fix refcount of returned ITypeInfo pointer.
This commit is contained in:
parent
23927e2644
commit
ea3ba29332
@ -144,6 +144,7 @@ HRESULT get_typeinfo( enum type_id tid, ITypeInfo **ret )
|
||||
ITypeInfo_Release( info );
|
||||
}
|
||||
*ret = typeinfo[tid];
|
||||
ITypeInfo_AddRef(typeinfo[tid]);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user