commit | 05f75b9ff928d7a9a064e0e55729a42f2a89cf6c | [log] [tgz] |
---|---|---|
author | Rob Shearman <rob@codeweavers.com> | Thu Jan 31 14:45:35 2008 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Feb 04 13:02:39 2008 +0100 |
tree | 87299a90d583bcb5aafbf27026754eec8ff5deb2 | |
parent | a7234c07c43ad7b160567950aebf7b0336f00f2e [diff] |
oleaut32: Fix a leak of a typelib object in OLEFontImpl_GetTypeInfo.
diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c index 3376c0c..fe787a7 100644 --- a/dlls/oleaut32/olefont.c +++ b/dlls/oleaut32/olefont.c
@@ -1215,6 +1215,7 @@ 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); }