Module: wine Branch: master Commit: f4f8679ae98189b756601679d7be872b22207a60 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4f8679ae98189b756601679d7...
Author: Marcus Meissner marcus@jet.franken.de Date: Wed May 6 17:31:27 2015 +0200
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 b89d3a6..73af745 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; }