Austin English : d3dx9_36/tests: Free memory after use (Valgrind).

Alexandre Julliard julliard at winehq.org
Thu Feb 17 13:06:33 CST 2011


Module: wine
Branch: master
Commit: e8a2fa28ea78039248a9aa5f0223e8d37977db53
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e8a2fa28ea78039248a9aa5f0223e8d37977db53

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 16 16:37:14 2011 -0800

d3dx9_36/tests: Free memory after use (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 5d1425b..05d68eb 100644
--- a/dlls/d3dx9_36/tests/mesh.c
+++ b/dlls/d3dx9_36/tests/mesh.c
@@ -1417,6 +1417,7 @@ static void D3DXCreateBoxTest(void)
 end:
     IDirect3DDevice9_Release(device);
     IDirect3D9_Release(d3d);
+    ID3DXBuffer_Release(ppBuffer);
     DestroyWindow(wnd);
 }
 




More information about the wine-cvs mailing list