venus: fix a missing mtx_destroy in vn_device_init
authorYiwei Zhang <zzyiwei@chromium.org>
Thu, 19 May 2022 20:56:08 +0000 (20:56 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Jun 2022 19:00:36 +0000 (19:00 +0000)
commitcf55a3f70e1c64b05ce3d9117cfa19dde68eefc7
tree139a9f5ec4a55415cf45aba7ac9a8f1b5d43ddc5
parentcb8dfa496627c38c49dd747d3ea97d44b8dc9662
venus: fix a missing mtx_destroy in vn_device_init

This was introduced in commit e08960482, however, the logic around has
been largly refactored since then. It's not worth adding the fixes tag.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16731>
src/virtio/vulkan/vn_device.c