Zhiyi Zhang : dxgi/tests: Fix a window leak in test_inexact_modes().
Alexandre Julliard
julliard at winehq.org
Wed Oct 21 15:15:14 CDT 2020
Module: wine
Branch: master
Commit: 541437e2ce8affc5626e9ec4f95d06ee4a56720f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=541437e2ce8affc5626e9ec4f95d06ee4a56720f
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Wed Oct 21 15:10:52 2020 +0800
dxgi/tests: Fix a window leak in test_inexact_modes().
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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)
More information about the wine-cvs
mailing list