From 00484ed942b6d499eb524b7727a567d37c0015f5 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 29 Nov 2012 07:35:19 -0500 Subject: [PATCH] msxml3: Fix a leak on error path. --- dlls/msxml3/dispex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c index 3aafc441c1a..3c84e093193 100644 --- a/dlls/msxml3/dispex.c +++ b/dlls/msxml3/dispex.c @@ -598,6 +598,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc hres = IUnknown_QueryInterface(This->outer, get_riid_from_tid(data->funcs[n].tid), (void**)&unk); if(FAILED(hres)) { ERR("Could not get iface: %08x\n", hres); + ITypeInfo_Release(ti); return E_FAIL; }