Module: wine Branch: master Commit: d5664881e59da5b6ddb566bdecdc755df77e0ad3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d5664881e59da5b6ddb566bdec...
Author: Huw Davies huw@codeweavers.com Date: Wed Feb 21 15:33:17 2007 +0000
oleaut32: Fix a TypeAttr leak.
---
dlls/oleaut32/tmarshal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index d192d01..cf0df90 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);