[Bug 36346] valgrind shows a few leaks in d3d10core/tests/d3d10core.c