[Bug 36249] valgrind shows two potential leaks in d3d10/tests/effect.c