oleaut32: Avoid a library handle leak (Coverity).
This commit is contained in:
parent
3599f956e2
commit
f4f8679ae9
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue