Skip to content
Snippets Groups Projects
Commit 053f69ac authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard
Browse files

oleaut32: Fix a missing ITypeInfo::ReleaseTypeAttr in the typelib marshaling code.

parent 053b6b21
No related branches found
No related tags found
No related merge requests found
......@@ -1201,8 +1201,12 @@ _get_funcdesc(
}
hres = _get_funcdesc(tinfo2,iMethod,tactual,fdesc,iname,fname);
ITypeInfo_Release(tinfo2);
if (!hres) return S_OK;
if (!hres) {
ITypeInfo_ReleaseTypeAttr(tinfo, attr);
return S_OK;
}
}
ITypeInfo_ReleaseTypeAttr(tinfo, attr);
return hres;
}
if (((*fdesc)->oVft/4) == iMethod) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment