wshom: Fix refcount for typeinfo pointers.

This commit is contained in:
Nikolay Sivov 2012-11-29 07:26:41 -05:00 committed by Alexandre Julliard
parent 56b3953207
commit 13d99144bd
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
} }
*typeinfo = typeinfos[tid]; *typeinfo = typeinfos[tid];
ITypeInfo_AddRef(*typeinfo);
return S_OK; return S_OK;
} }