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