dxgi/tests: Release IDXGIFactory in test_swapchain_present().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-05-30 12:18:40 +02:00 committed by Alexandre Julliard
parent c377644ca7
commit 4303464475
1 changed files with 2 additions and 0 deletions

View File

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