mirror of
https://github.com/reactos/wine.git
synced 2025-01-07 11:51:28 +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 );
|
ITypeInfo_Release( info );
|
||||||
}
|
}
|
||||||
*ret = typeinfo[tid];
|
*ret = typeinfo[tid];
|
||||||
|
ITypeInfo_AddRef(typeinfo[tid]);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user