[Bug 36096] valgrind shows leaks in d3d9/visual tests on i965