mesa/src/vulkan
Osama Abdelkader 0423488955 vulkan/wsi: Fix realloc error handling in wsi_get_modifiers_for_format
Replace assert() with proper error checking for realloc() failure.
If realloc fails, free any existing modifiers, clean up resources,
and return NULL instead of potentially crashing or leaking memory.

Fixes a potential memory leak when memory allocation fails.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39215>
2026-01-29 23:15:37 +00:00
..
anti-lag-layer anti-lag: Do not enable layer by default. 2025-09-26 13:29:38 +00:00
device-select-layer device-select: add a layer setting to disable device selection logic 2026-01-05 23:51:26 +00:00
overlay-layer mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
registry vulkan: update spec to 1.4.340 2026-01-23 16:07:30 +00:00
runtime vulkan: add vk_shader_ops::replay_at vfunc stub 2026-01-29 08:46:50 +00:00
screenshot-layer mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
util vulkan: add plane aspect format helper 2026-01-28 13:41:25 +00:00
vram-report-limit-layer clang-format: Update the .clang-format files to conformance clang-format json-schema 2025-09-09 07:04:55 +00:00
wsi vulkan/wsi: Fix realloc error handling in wsi_get_modifiers_for_format 2026-01-29 23:15:37 +00:00
meson.build wsi/display: Expose HDR10 colorspace based on EDID 2025-08-05 08:50:05 +00:00
vulkan-android.sym
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
vulkan_api.def.in