[Bug 36349] valgrind shows a few leaks in d3d9/tests/stateblock.c