From 0658e5e1412a34b572e11ce118880c8b1f848895 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 23 Mar 2026 15:58:01 +0100 Subject: [PATCH] vulkan: fix memory leak in vkQueueBeginDebugUtilsLabelEXT() Caught by ASAN with VKCTS. Signed-off-by: Samuel Pitoiset Part-of: --- src/vulkan/runtime/vk_debug_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/runtime/vk_debug_utils.c b/src/vulkan/runtime/vk_debug_utils.c index 99a3bc63152..91e9bc37479 100644 --- a/src/vulkan/runtime/vk_debug_utils.c +++ b/src/vulkan/runtime/vk_debug_utils.c @@ -441,7 +441,7 @@ vk_queue_begin_debug_utils_label(struct vk_queue *queue, * should remove it first. */ if (!queue->region_begin) - (void)util_dynarray_pop(&queue->labels, VkDebugUtilsLabelEXT); + vk_common_pop_debug_label(queue->base.device, &queue->labels); vk_common_append_debug_label(queue->base.device, &queue->labels,