Module: wine Branch: master Commit: 3ad597640772dd464a69e82e54d88c838bee79e3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ad597640772dd464a69e82e54... Author: Michael Mc Donnell <michael(a)mcdonnell.dk> Date: Sat Sep 24 13:16:23 2011 +0200 d3dx9_36/tests: Fixed adjacency double free (valgrind). --- dlls/d3dx9_36/tests/mesh.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c index 686e386..6a78e64 100644 --- a/dlls/d3dx9_36/tests/mesh.c +++ b/dlls/d3dx9_36/tests/mesh.c @@ -5949,6 +5949,7 @@ static void test_convert_point_reps_to_adjacency(void) } HeapFree(GetProcessHeap(), 0, adjacency); + adjacency = NULL; if (i != 0) /* First mesh will be freed during cleanup */ mesh->lpVtbl->Release(mesh); }