mirror of
https://github.com/reactos/wine.git
synced 2025-02-23 22:40:55 +00:00
dxgi: Added missing unlock (Coverity).
This commit is contained in:
parent
50c8766cce
commit
fec49d1182
@ -381,6 +381,7 @@ HWND dxgi_factory_get_device_window(struct dxgi_factory *factory)
|
||||
if (!(factory->device_window = CreateWindowA("static", "DXGI device window",
|
||||
WS_DISABLED, 0, 0, 0, 0, NULL, NULL, NULL, NULL)))
|
||||
{
|
||||
LeaveCriticalSection(&dxgi_cs);
|
||||
ERR("Failed to create a window.\n");
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user