dxgi: Fix HMODULE leak in register_d3d10core_layers().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ba014d9998
commit
cb7c0b72bb
|
@ -111,7 +111,8 @@ static HRESULT register_d3d10core_layers(HMODULE d3d10core)
|
|||
hr = d3d11core_register_layers();
|
||||
if (FAILED(hr))
|
||||
{
|
||||
ERR("Failed to register d3d11 layers, returning %#x\n", hr);
|
||||
ERR("Failed to register d3d11 layers, returning %#x.\n", hr);
|
||||
FreeLibrary(mod);
|
||||
wined3d_mutex_unlock();
|
||||
return hr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue