Commit 6cc2f957 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d9/tests: Release the vertex buffer in test_null_stream().

parent 3b437b55
......@@ -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);
......
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