=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: dxgi/tests: Add missing DestroyWindow() call in test_createswapchain().

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 14 09:44:34 CDT 2015


Module: wine
Branch: master
Commit: 7d9049c2dfdbb9cd6e44bbcee5bc52ed79a2ee5d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7d9049c2dfdbb9cd6e44bbcee5bc52ed79a2ee5d

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Sep 14 00:13:39 2015 +0200

dxgi/tests: Add missing DestroyWindow() call in test_createswapchain().

---

 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)




More information about the wine-cvs mailing list