Commit 3816e44d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winhttp: Fix typeinfo refcount in GetTypeInfo().

parent d6829afe
...@@ -2754,6 +2754,7 @@ static HRESULT get_typeinfo( enum type_id tid, ITypeInfo **ret ) ...@@ -2754,6 +2754,7 @@ static HRESULT get_typeinfo( enum type_id tid, ITypeInfo **ret )
ITypeInfo_Release( typeinfo ); ITypeInfo_Release( typeinfo );
} }
*ret = winhttp_typeinfo[tid]; *ret = winhttp_typeinfo[tid];
ITypeInfo_AddRef(winhttp_typeinfo[tid]);
return S_OK; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment