[Bug 36261] valgrind shows a use after free in d3d_device7_Release() ddraw/tests/ddraw{4,7}.c