Commit ea3ba293 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

hnetcfg: Fix refcount of returned ITypeInfo pointer.

parent 23927e26
......@@ -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;
}
......
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