venus: fix a cmd tmp storage leak
authorYiwei Zhang <zzyiwei@chromium.org>
Tue, 4 Jul 2023 21:44:49 +0000 (14:44 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Jul 2023 22:36:47 +0000 (22:36 +0000)
commitee3f17ca7909412fc9ce1288324edea3bc2e312a
tree37dafe4c2b311321033388e4d40c1c243739ba83
parent87b99bf47040045cc6bca57c447a55acc220bfc3
venus: fix a cmd tmp storage leak

When the pool is destroyed, cmds are implicitly freed. Cmd level allocs
have to be cleaned up to avoid leak.

Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24009>
src/virtio/vulkan/vn_command_buffer.c