mirror of
https://github.com/reactos/wine.git
synced 2025-02-22 13:53:38 +00:00
d3d9/tests: Release the vertex buffer in test_null_stream().
This commit is contained in:
parent
3b437b550d
commit
6cc2f9573a
@ -1828,6 +1828,7 @@ static void test_null_stream(void)
|
||||
IDirect3DDevice9_SetVertexDeclaration(device, NULL);
|
||||
|
||||
cleanup:
|
||||
if (buffer) IDirect3DVertexBuffer9_Release(buffer);
|
||||
if(decl) IDirect3DVertexDeclaration9_Release(decl);
|
||||
if(shader) IDirect3DVertexShader9_Release(shader);
|
||||
if(device) IDirect3DDevice9_Release(device);
|
||||
|
Loading…
x
Reference in New Issue
Block a user