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