Commit 1a9c1d59 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

ddraw/tests: Release ddraw after device in test_texture_wrong_caps().

parent 9e351472
...@@ -15657,9 +15657,9 @@ static void test_texture_wrong_caps(const GUID *device_guid) ...@@ -15657,9 +15657,9 @@ static void test_texture_wrong_caps(const GUID *device_guid)
IDirectDrawSurface_Release(rt); IDirectDrawSurface_Release(rt);
destroy_viewport(device, viewport); destroy_viewport(device, viewport);
destroy_material(background); destroy_material(background);
IDirectDraw2_Release(ddraw);
refcount = IDirect3DDevice2_Release(device); refcount = IDirect3DDevice2_Release(device);
ok(!refcount, "Device has %lu references left.\n", refcount); ok(!refcount, "Device has %lu references left.\n", refcount);
IDirectDraw2_Release(ddraw);
DestroyWindow(window); DestroyWindow(window);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment