panvk: Call vk_free on queue array instead of vk_object_free
What does this MR do and why?
panvk: Call vk_free on queue array instead of vk_object_free
This is allocated using vk_alloc and isn't a vk_object.
This fixes an invalid free that could manifest as a double free error.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Fixes: 5b0ff2643f2 ("panvk: Make the device creation/destruction per-arch")
Also changed queue array allocation to use vk_zalloc
.
/cc @bbrezillon @kusma
Edited by Mary Guillemard