From e8a2fa28ea78039248a9aa5f0223e8d37977db53 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 16 Feb 2011 16:37:14 -0800 Subject: [PATCH] d3dx9_36/tests: Free memory after use (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 5d1425b508d..05d68eb253e 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); }