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

This commit is contained in:
Rob Shearman 2006-10-23 11:46:08 +01:00 committed by Alexandre Julliard
parent 053b6b21b6
commit 053f69aced

View file

@ -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) {