Michael Mc Donnell : d3dx9_36/tests: Fixed adjacency double free (valgrind) .
Alexandre Julliard
julliard at winehq.org
Mon Sep 26 16:15:12 CDT 2011
Module: wine
Branch: master
Commit: 3ad597640772dd464a69e82e54d88c838bee79e3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ad597640772dd464a69e82e54d88c838bee79e3
Author: Michael Mc Donnell <michael at 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);
}
More information about the wine-cvs
mailing list