d3dx9_36/tests: Fixed adjacency double free (valgrind).
This commit is contained in:
parent
14a245690d
commit
3ad5976407
|
@ -5949,6 +5949,7 @@ static void test_convert_point_reps_to_adjacency(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
HeapFree(GetProcessHeap(), 0, adjacency);
|
HeapFree(GetProcessHeap(), 0, adjacency);
|
||||||
|
adjacency = 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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue