d3dx9_36/tests: Fixed adjacency double free (valgrind).

This commit is contained in:
Michael Mc Donnell 2011-09-24 13:16:23 +02:00 committed by Alexandre Julliard
parent 14a245690d
commit 3ad5976407
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}