venus: fix all missing vn_object_base_fini
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12498>
This commit is contained in:
@@ -542,6 +542,7 @@ vn_AllocateCommandBuffers(VkDevice device,
|
||||
cmd = vn_command_buffer_from_handle(pCommandBuffers[j]);
|
||||
vn_cs_encoder_fini(&cmd->cs);
|
||||
list_del(&cmd->head);
|
||||
vn_object_base_fini(&cmd->base);
|
||||
vk_free(alloc, cmd);
|
||||
}
|
||||
memset(pCommandBuffers, 0,
|
||||
|
||||
Reference in New Issue
Block a user