For example, `d3d12_committed_resource_create()` assigns `resource->heap` (inside `vkd3d_allocate_resource_memory()`), but doesn't increment its reference count.
The heap is created with `internal_refcount = 1` so this decref is required to free it. Valgrind reports no leaks in test_create_committed_resource().