mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 18:40:28 +01:00
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> |
||
|---|---|---|
| .. | ||
| anti-lag-layer | ||
| device-select-layer | ||
| overlay-layer | ||
| registry | ||
| runtime | ||
| screenshot-layer | ||
| util | ||
| vram-report-limit-layer | ||
| wsi | ||
| meson.build | ||
| vulkan-android.sym | ||
| vulkan-icd-android-symbols.txt | ||
| vulkan-icd-symbols.txt | ||
| vulkan.sym | ||
| vulkan_api.def.in | ||