From 3ad597640772dd464a69e82e54d88c838bee79e3 Mon Sep 17 00:00:00 2001 From: Michael Mc Donnell Date: Sat, 24 Sep 2011 13:16:23 +0200 Subject: [PATCH] d3dx9_36/tests: Fixed adjacency double free (valgrind). --- dlls/d3dx9_36/tests/mesh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/d3dx9_36/tests/mesh.c b/dlls/d3dx9_36/tests/mesh.c index 686e386178d..6a78e645f10 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); } -- 2.11.4.GIT