mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
vulkan: fix memory leak in vkQueueBeginDebugUtilsLabelEXT()
Caught by ASAN with VKCTS. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40572>
This commit is contained in:
parent
598d43faf6
commit
0658e5e141
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue