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

This commit is contained in:
Rob Shearman 2008-01-31 14:45:35 +00:00 committed by Alexandre Julliard
parent a7234c07c4
commit 05f75b9ff9
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}