oleaut32: Fix a missing ITypeInfo::ReleaseTypeAttr in the typelib marshaling code.
This commit is contained in:
parent
053b6b21b6
commit
053f69aced
|
@ -1201,8 +1201,12 @@ _get_funcdesc(
|
||||||
}
|
}
|
||||||
hres = _get_funcdesc(tinfo2,iMethod,tactual,fdesc,iname,fname);
|
hres = _get_funcdesc(tinfo2,iMethod,tactual,fdesc,iname,fname);
|
||||||
ITypeInfo_Release(tinfo2);
|
ITypeInfo_Release(tinfo2);
|
||||||
if (!hres) return S_OK;
|
if (!hres) {
|
||||||
|
ITypeInfo_ReleaseTypeAttr(tinfo, attr);
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
ITypeInfo_ReleaseTypeAttr(tinfo, attr);
|
||||||
return hres;
|
return hres;
|
||||||
}
|
}
|
||||||
if (((*fdesc)->oVft/4) == iMethod) {
|
if (((*fdesc)->oVft/4) == iMethod) {
|
||||||
|
|
Loading…
Reference in New Issue