=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: dxgi/tests: Release IDXGIFactory in test_swapchain_present().
Alexandre Julliard
julliard at winehq.org
Wed May 30 15:30:51 CDT 2018
Module: wine
Branch: master
Commit: 430346447543d9ceed9bdcb32b8290a14ce619fb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=430346447543d9ceed9bdcb32b8290a14ce619fb
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Wed May 30 12:18:40 2018 +0200
dxgi/tests: Release IDXGIFactory in test_swapchain_present().
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dxgi/tests/device.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/dxgi/tests/device.c b/dlls/dxgi/tests/device.c
index d9ffa50..c192992 100644
--- a/dlls/dxgi/tests/device.c
+++ b/dlls/dxgi/tests/device.c
@@ -3427,6 +3427,8 @@ static void test_swapchain_present(void)
refcount = IDXGIDevice_Release(device);
ok(!refcount, "Device has %u references left.\n", refcount);
DestroyWindow(swapchain_desc.OutputWindow);
+ refcount = IDXGIFactory_Release(factory);
+ ok(!refcount, "Factory has %u references left.\n", refcount);
}
static void test_maximum_frame_latency(void)
More information about the wine-cvs
mailing list