hnetcfg: Fix refcount of returned ITypeInfo pointer.

This commit is contained in:
Nikolay Sivov 2015-01-14 08:29:37 +03:00 committed by Alexandre Julliard
parent 23927e2644
commit ea3ba29332
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}