From 02f0d82d24646c209a74befc5f3a7c92276d9fe1 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 2 May 2011 22:16:36 +0200 Subject: [PATCH] d3d9/tests: Destroy the window after we're done with it in test_reset(). --- dlls/d3d9/tests/device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index b377beea0e2..55b6982f09c 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -1229,6 +1229,7 @@ cleanup: ok(!refcount, "Device has %u references left.\n", refcount); } if (pD3d) IDirect3D9_Release(pD3d); + if (hwnd) DestroyWindow(hwnd); } /* Test adapter display modes */