From a86aba4bc09f686d80a05576c895904951054c91 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 2 Dec 2013 12:07:37 +0100 Subject: [PATCH] ddraw/tests: Add some missing DestroyWindow() calls. --- dlls/ddraw/tests/ddraw2.c | 1 + dlls/ddraw/tests/ddraw4.c | 1 + dlls/ddraw/tests/ddraw7.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index 3ac74aaca97..b6c99a7dd03 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -3373,6 +3373,7 @@ static void test_lighting_interface_versions(void) IDirect3D2_Release(d3d); ref = IDirectDraw2_Release(ddraw); ok(ref == 0, "Ddraw object not properly released, refcount %u.\n", ref); + DestroyWindow(window); } static struct diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index 2ecbc0e64e4..a96877a574c 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -3654,6 +3654,7 @@ static void test_lighting_interface_versions(void) ok(ref == 0, "Device not properly released, refcount %u.\n", ref); ref = IDirect3D3_Release(d3d); ok(ref == 0, "D3d not properly released, refcount %u.\n", ref); + DestroyWindow(window); } static struct diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index 11cb802cbc4..6ab6bba9304 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -1260,6 +1260,7 @@ static void test_texture_load_ckey(void) IDirectDrawSurface7_Release(src); IDirectDraw7_Release(ddraw); IDirect3DDevice7_Release(device); + DestroyWindow(window); } static void test_zenable(void) @@ -3467,6 +3468,7 @@ static void test_lighting_interface_versions(void) IDirectDrawSurface7_Release(rt); ref = IDirect3DDevice7_Release(device); ok(ref == 0, "Device not properly released, refcount %u.\n", ref); + DestroyWindow(window); } static struct