dzn: Clean up dri options cache

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32011>
This commit is contained in:
Jesse Natalie 2024-11-06 08:47:55 -08:00 committed by Marge Bot
parent 215c44c124
commit 26fc1ea9e5

View file

@ -238,6 +238,9 @@ dzn_instance_destroy(struct dzn_instance *instance, const VkAllocationCallbacks
if (instance->d3d12_mod)
util_dl_close(instance->d3d12_mod);
driDestroyOptionCache(&instance->dri_options);
driDestroyOptionInfo(&instance->available_dri_options);
vk_free2(vk_default_allocator(), alloc, instance);
}