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

oldstable
Rob Shearman 2006-10-23 11:46:08 +01:00 committed by Alexandre Julliard
parent 053b6b21b6
commit 053f69aced
1 changed files with 5 additions and 1 deletions

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