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