[PATCH 09/10] dxgi/tests: Add missing DestroyWindow() call in test_createswapchain().

Józef Kucia jkucia at codeweavers.com
Sun Sep 13 17:13:39 CDT 2015


---
 dlls/dxgi/tests/device.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dxgi/tests/device.c b/dlls/dxgi/tests/device.c
index fe2c453..1e9507f 100644
--- a/dlls/dxgi/tests/device.c
+++ b/dlls/dxgi/tests/device.c
@@ -520,6 +520,7 @@ static void test_createswapchain(void)
     IUnknown_Release(obj);
     refcount = IDXGIDevice_Release(device);
     ok(!refcount, "Device has %u references left.\n", refcount);
+    DestroyWindow(creation_desc.OutputWindow);
 }
 
 static void test_create_factory(void)
-- 
2.4.6




More information about the wine-patches mailing list