Commit ca00d72d authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d9/tests: Release "d3d9ex" after we're done with it in test_wndproc() (Valgrind).

parent 1c5e704a
......@@ -2160,10 +2160,11 @@ static void test_wndproc(void)
}
}
IDirect3D9Ex_Release(d3d9ex);
if (!d3d_width)
{
skip("Could not find adequate modes, skipping mode tests.\n");
IDirect3D9Ex_Release(d3d9ex);
return;
}
......
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