nvk: Stop leaking the descriptor table in-use set
Fixes: ef9d9b70a6 ("nvk/descriptor_table: Add support for requesting a specific index")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30724>
This commit is contained in:
committed by
Marge Bot
parent
f984ff40fe
commit
185379ba81
@@ -104,6 +104,7 @@ nvk_descriptor_table_finish(struct nvk_device *dev,
|
||||
{
|
||||
if (table->mem != NULL)
|
||||
nvkmd_mem_unref(table->mem);
|
||||
vk_free(&dev->vk.alloc, table->in_use);
|
||||
vk_free(&dev->vk.alloc, table->free_table);
|
||||
simple_mtx_destroy(&table->mutex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user