mesa/src
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
..
amd ci: rename x86 and amd64 to x86_64, armhf to arm32, and i386 to x86_32 2023-06-02 21:30:15 +02:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Reformat using the new style 2023-05-29 21:06:12 +00:00
broadcom ci: rename x86 and amd64 to x86_64, armhf to arm32, and i386 to x86_32 2023-06-02 21:30:15 +02:00
c11 c11: Remove _MTX_INITIALIZER_NP as it's not used anymore 2023-05-31 15:44:51 +00:00
compiler nir: print locations for per-vertex fragment shader inputs 2023-06-02 13:25:43 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl egl: fix comments alignment 2023-06-01 14:48:27 +00:00
etnaviv ci: rename x86 and amd64 to x86_64, armhf to arm32, and i386 to x86_32 2023-06-02 21:30:15 +02:00
freedreno ci/turnip: Update full-run xfails. 2023-06-02 04:33:40 +00:00
gallium iris: Implement external object implicit syncronization for Xe kmd 2023-06-02 20:46:48 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: fix build with APPLEGL 2023-05-15 03:50:30 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Implement ZLS subtile alignment 2023-06-02 14:43:24 +00:00
imgui
intel hasvk: Use intel_ioctl() helper for GEM_SET_TILING 2023-06-02 20:09:24 +00:00
loader loader: Replace usage of mtx_t with simple_mtx_t in loader/loader_dri3_helper.c 2023-05-31 15:44:50 +00:00
mapi mesa: Add EXT_instanced_arrays support 2023-04-11 10:22:35 +00:00
mesa mesa: Use shared NIR code for ARB_vp and FF VS position transformation. 2023-06-01 23:57:32 +00:00
microsoft dzn: Fix incremental binding of VBs 2023-06-02 18:22:24 +00:00
nouveau treewide: Avoid nir_lower_regs_to_ssa calls 2023-05-24 17:30:03 +00:00
panfrost ci: rename x86 and amd64 to x86_64, armhf to arm32, and i386 to x86_32 2023-06-02 21:30:15 +02:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util util: Use the gcc_struct attribute for packed structures in mingw 2023-06-01 14:05:55 +00:00
virtio venus: enable VK_EXT_image_2d_view_of_3d 2023-05-30 22:52:12 +00:00
vulkan vulkan/wsi: fix double free on error condition 2023-06-02 15:12:19 -07:00
.clang-format treewide: Add a .clang-format file 2023-05-29 21:06:12 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00