Module: wine Branch: master Commit: c76743631dab828410d038ae7b1b456f08089049 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c76743631dab828410d038ae7b...
Author: Jozef Kucia joseph.kucia@gmail.com Date: Fri Mar 9 18:43:25 2012 +0100
d3dx9/tests: Don't leak D3DXBuffer in D3DXWeldVertices tests.
---
dlls/d3dx9_36/tests/mesh.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c index d24326f..2a05e0d 100644 --- a/dlls/d3dx9_36/tests/mesh.c +++ b/dlls/d3dx9_36/tests/mesh.c @@ -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);