lavapipe: Fix vk_instance_init vk_error instance use-after-free
authorVitaliy Triang3l Kuzmin <triang3l@yandex.ru>
Sat, 6 May 2023 19:57:46 +0000 (22:57 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 8 May 2023 14:09:49 +0000 (14:09 +0000)
commitbb91bc9fd2387b979e27475c861c317b3c23d01c
tree19a090bfa923b461f630d5def0841a1a2f2ac9fd
parentdbc4c088fc563293eb80d9f60ed1414f8156e23e
lavapipe: Fix vk_instance_init vk_error instance use-after-free

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Signed-off-by: Vitaliy Triang3l Kuzmin <triang3l@yandex.ru>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22887>
src/gallium/frontends/lavapipe/lvp_device.c