d3d9/tests: Release "d3d9ex" after we're done with it in test_wndproc() (Valgrind).
This commit is contained in:
parent
1c5e704af6
commit
ca00d72da3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue