d3dx9_36/tests: Free memory after use (Valgrind).
This commit is contained in:
parent
edeff310b1
commit
e8a2fa28ea
|
@ -1417,6 +1417,7 @@ static void D3DXCreateBoxTest(void)
|
||||||
end:
|
end:
|
||||||
IDirect3DDevice9_Release(device);
|
IDirect3DDevice9_Release(device);
|
||||||
IDirect3D9_Release(d3d);
|
IDirect3D9_Release(d3d);
|
||||||
|
ID3DXBuffer_Release(ppBuffer);
|
||||||
DestroyWindow(wnd);
|
DestroyWindow(wnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue