winhttp: Fix typeinfo refcount in GetTypeInfo().

This commit is contained in:
Nikolay Sivov 2015-01-14 13:42:37 +03:00 committed by Alexandre Julliard
parent d6829afe4b
commit 3816e44da1
1 changed files with 1 additions and 0 deletions

View File

@ -2754,6 +2754,7 @@ static HRESULT get_typeinfo( enum type_id tid, ITypeInfo **ret )
ITypeInfo_Release( typeinfo );
}
*ret = winhttp_typeinfo[tid];
ITypeInfo_AddRef(winhttp_typeinfo[tid]);
return S_OK;
}