Commit d1e328a0 authored by Michael Mc Donnell's avatar Michael Mc Donnell Committed by Alexandre Julliard

d3dx/tests: Fixed double free (valgrind).

parent d7b5c0b1
...@@ -5399,6 +5399,7 @@ static void test_convert_adjacency_to_point_reps(void) ...@@ -5399,6 +5399,7 @@ static void test_convert_adjacency_to_point_reps(void)
} }
HeapFree(GetProcessHeap(), 0, point_reps); HeapFree(GetProcessHeap(), 0, point_reps);
point_reps = NULL;
if (i != 0) /* First mesh will be freed during cleanup */ if (i != 0) /* First mesh will be freed during cleanup */
mesh->lpVtbl->Release(mesh); mesh->lpVtbl->Release(mesh);
......
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