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:
Yiwei Zhang
2021-08-21 22:21:17 +00:00
committed by Marge Bot
parent c600494a8e
commit b816167312
6 changed files with 11 additions and 0 deletions
+1
View File
@@ -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,