[Bug 36347] valgrind shows a few leaks in d3d8/tests/stateblock.c