oleaut32: Fix a TypeAttr leak.

This commit is contained in:
Huw Davies 2007-02-21 15:33:17 +00:00 committed by Alexandre Julliard
parent 17382dd5f7
commit d5664881e5
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ static int _nroffuncs(ITypeInfo *tinfo) {
n += _nroffuncs(tinfo2);
ITypeInfo_Release(tinfo2);
}
ITypeInfo_ReleaseTypeAttr(tinfo, attr);
i = 0;
while (1) {
hres = ITypeInfoImpl_GetInternalFuncDesc(tinfo,i,&fdesc);