From d5664881e59da5b6ddb566bdecdc755df77e0ad3 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 21 Feb 2007 15:33:17 +0000 Subject: [PATCH] oleaut32: Fix a TypeAttr leak. --- dlls/oleaut32/tmarshal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index d192d01f3a8..cf0df90d038 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -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);