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

This commit is contained in:
Henri Verbeet 2015-04-21 12:25:49 +02:00 committed by Alexandre Julliard
parent 1c5e704af6
commit ca00d72da3
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}