[Bug 36339] New: valgrind shows a lot of leaks in ddraw/tests/d3d.c