d3dx9/tests: Don't leak D3DXBuffer in D3DXWeldVertices tests.

This commit is contained in:
Jozef Kucia 2012-03-09 18:43:25 +01:00 committed by Alexandre Julliard
parent 67488dec09
commit c76743631d
1 changed files with 0 additions and 6 deletions

View File

@ -8060,12 +8060,6 @@ static void test_weld_vertices(void)
skip("Couldn't allocate face_remap array.\n");
goto cleanup;
}
hr = D3DXCreateBuffer(tc[i].num_vertices * sizeof(DWORD), &vertex_remap);
if (FAILED(hr))
{
skip("Couldn't create vertex_remap buffer.\n");
goto cleanup;
}
hr = D3DXWeldVertices(mesh, tc[i].flags, tc[i].epsilons, tc[i].adjacency,
adjacency_out, face_remap, &vertex_remap);