vulkan/wsi/wayland: fix returns and avoid leaks for failed swapchain
What does this MR do and why?
vulkan/wsi/wayland: fix returns and avoid leaks for failed swapchain
Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Test:
- no segfault in
dEQP-VK.wsi.wayland.swapchain.simulate_oom.*
- pass 100%
dEQP-VK.wsi.wayland.swapchain.simulate_oom.*
Edited by Yiwei Zhang