mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
oleaut32: Fix a missing ITypeInfo::ReleaseTypeAttr in the typelib marshaling code.
This commit is contained in:
parent
053b6b21b6
commit
053f69aced
1 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue