[PATCH] dxgi: added missing unlock (Coverity)
Marcus Meissner
marcus at jet.franken.de
Tue Sep 23 01:46:34 CDT 2014
1240033 Missing unlock
---
dlls/dxgi/factory.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c
index 9dbcb3e..1e22f6f 100644
--- a/dlls/dxgi/factory.c
+++ b/dlls/dxgi/factory.c
@@ -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;
}
--
1.8.4.5
More information about the wine-patches
mailing list