[Bug 36379] valgrind shows several possible leaks in light tests in ddraw/tests/d3d.c