[PATCH] dxgi/tests: Fix a window leak in test_inexact_modes().

Zhiyi Zhang zzhang at codeweavers.com
Wed Oct 21 02:10:52 CDT 2020


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 dlls/dxgi/tests/dxgi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c
index bf798508a6d..43c4247dc2a 100644
--- a/dlls/dxgi/tests/dxgi.c
+++ b/dlls/dxgi/tests/dxgi.c
@@ -3630,6 +3630,7 @@ done:
     ok(!refcount, "Device has %u references left.\n", refcount);
     refcount = IDXGIFactory_Release(factory);
     ok(!refcount, "Factory has %u references left.\n", refcount);
+    DestroyWindow(swapchain_desc.OutputWindow);
 }
 
 static void test_create_factory(void)
-- 
2.25.1



More information about the wine-devel mailing list