Commit 05f75b9f authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

oleaut32: Fix a leak of a typelib object in OLEFontImpl_GetTypeInfo.

parent a7234c07
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment