From 05f75b9ff928d7a9a064e0e55729a42f2a89cf6c Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Thu, 31 Jan 2008 14:45:35 +0000 Subject: [PATCH] oleaut32: Fix a leak of a typelib object in OLEFontImpl_GetTypeInfo. --- dlls/oleaut32/olefont.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c index 3376c0cbc4b..fe787a7db70 100644 --- a/dlls/oleaut32/olefont.c +++ b/dlls/oleaut32/olefont.c @@ -1215,6 +1215,7 @@ static HRESULT WINAPI OLEFontImpl_GetTypeInfo( return hres; } hres = ITypeLib_GetTypeInfoOfGuid(tl, &IID_IFontDisp, ppTInfo); + ITypeLib_Release(tl); if (FAILED(hres)) { FIXME("Did not IDispatch typeinfo from typelib, hres %x\n",hres); } -- 2.11.4.GIT