[Bug 36619] valgrind shows a few possible leaks in d3d8/tests/device.c