From f4f8679ae98189b756601679d7be872b22207a60 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 6 May 2015 17:31:27 +0200 Subject: [PATCH] oleaut32: Avoid a library handle leak (Coverity). --- dlls/oleaut32/olepropframe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/oleaut32/olepropframe.c b/dlls/oleaut32/olepropframe.c index b89d3a69458..73af7451f1b 100644 --- a/dlls/oleaut32/olepropframe.c +++ b/dlls/oleaut32/olepropframe.c @@ -210,6 +210,7 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams) if(property_sheet_dialog_data) { if(property_sheet_dialog_data[1] == 0xffff) { ERR("Expected DLGTEMPLATE structure\n"); + FreeLibrary(hcomctl); return E_OUTOFMEMORY; }