mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 19:50:33 +01:00
dzn_physical_device_create runs dzn_wsi_init which allocates and initilizes wsi_interfaces. If the wsi initlizalization fails, the wsi_interfaces are cleaned up and freed (wsi_common.c:330-> wsi_device_finish). Once the failure propogates up, dzn_physical_device_create runs dzn_physical_device_destroy. Then, dzn_wsi_finish frees the wsi_interfaces again. Above path led to a Segmentation Fault on my system when running: dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail.basic This change removes dzn_wsi_finish call if dzn_wsi_init fails, avoiding a "double free" Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39928> |
||
|---|---|---|
| .. | ||
| ci | ||
| clc | ||
| compiler | ||
| spirv_to_dxil | ||
| vulkan | ||
| meson.build | ||