Commit f4f8679a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

oleaut32: Avoid a library handle leak (Coverity).

parent 3599f956
...@@ -210,6 +210,7 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams) ...@@ -210,6 +210,7 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
if(property_sheet_dialog_data) { if(property_sheet_dialog_data) {
if(property_sheet_dialog_data[1] == 0xffff) { if(property_sheet_dialog_data[1] == 0xffff) {
ERR("Expected DLGTEMPLATE structure\n"); ERR("Expected DLGTEMPLATE structure\n");
FreeLibrary(hcomctl);
return E_OUTOFMEMORY; return E_OUTOFMEMORY;
} }
......
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