mesa/src/vulkan
Iván Briano 39e057028c vulkan/wsi: fix double free on error condition
On error during wsi_wl_surface_create_swapchain(),
wsi_wl_swapchain_chain_free() is called, followed by vk_free() of the
recently freed chain.
Move the vk_free() to wsi_wl_swapchain_destroy() to avoid the double
free.

Fixes dEQP-VK.wsi.wayland.swapchain.simulate_oom.*

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23383>
2023-06-02 15:12:19 -07:00
..
device-select-layer device_select_layer: log selectable devices if MESA_VK_DEVICE_SELECT_DEBUG or DRI_PRIME_DEBUG are set 2023-05-03 20:55:51 -04:00
overlay-layer vulkan/overlay: deal with unknown pNext structures 2023-04-17 15:41:58 +03:00
registry vulkan: Update XML and headers to 1.3.251 2023-05-29 13:41:02 +00:00
runtime vk/video: add a common function to get block alignments for profiles 2023-05-30 02:53:32 +00:00
util vulkan: use cmd size array for queued cmd allocations 2023-05-31 03:13:22 +00:00
wsi vulkan/wsi: fix double free on error condition 2023-06-02 15:12:19 -07:00
meson.build vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-android.sym android/vk: drop unnecessary symbols 2023-03-04 07:41:10 +00:00
vulkan-icd-android-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan-icd-symbols.txt vk: be stricter about symbols check between android and other platforms 2023-03-04 07:41:10 +00:00
vulkan.sym vk: move radv's linker symbols scripts for use in all drivers 2023-03-04 07:41:10 +00:00
vulkan_api.def.in win32: Fixes 32 bits visual studio module definition files by add script gen_vs_module_defs.py 2022-04-19 19:38:47 +00:00