wshom: Fix refcount for typeinfo pointers.
This commit is contained in:
parent
56b3953207
commit
13d99144bd
|
@ -77,6 +77,7 @@ HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
|
|||
}
|
||||
|
||||
*typeinfo = typeinfos[tid];
|
||||
ITypeInfo_AddRef(*typeinfo);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue