From: Nikolay Sivov nsivov@codeweavers.com
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/d3d9/tests/device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index 782a00196f6..686b1f3c89e 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -15292,8 +15292,9 @@ static void test_d3d9on12(void) ok(ref == 0, "Got refcount %lu.\n", ref); ref = IDirect3DDevice9_Release(device); ok(ref == 0, "Got refcount %lu.\n", ref); -out: IDirect3D9_Release(d3d9); + +out: DestroyWindow(window); }