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

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2020-10-21 15:10:52 +08:00 committed by Alexandre Julliard
parent 8915500868
commit 541437e2ce
1 changed files with 1 additions and 0 deletions

View File

@ -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)