oleaut32: Avoid a library handle leak (Coverity).

This commit is contained in:
Marcus Meissner 2015-05-06 17:31:27 +02:00 committed by Alexandre Julliard
parent 3599f956e2
commit f4f8679ae9
1 changed files with 1 additions and 0 deletions

View File

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