From df19ec302093b5e47c0d7556ea41af47d2b7af67 Mon Sep 17 00:00:00 2001 From: Aitor Camacho Date: Tue, 2 Dec 2025 03:35:59 +0900 Subject: [PATCH] vulkan/wsi: Fix double destroy of present_id_timeline at swapchain create Fixes: c888da3d48a ("vulkan/wsi: Add mechanism to wait for WSI semaphore unsignal.") Reviewed-by: Hans-Kristian Arntzen Signed-off-by: Aitor Camacho Part-of: --- src/vulkan/wsi/wsi_common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vulkan/wsi/wsi_common.c b/src/vulkan/wsi/wsi_common.c index bc335d3717b..a23b6f6c6ee 100644 --- a/src/vulkan/wsi/wsi_common.c +++ b/src/vulkan/wsi/wsi_common.c @@ -1104,7 +1104,6 @@ wsi_CreateSwapchainKHR(VkDevice _device, sizeof (*swapchain->blit.semaphores), VK_SYSTEM_ALLOCATION_SCOPE_OBJECT); if (!swapchain->blit.semaphores) { - wsi_device->DestroySemaphore(_device, swapchain->present_id_timeline, alloc); swapchain->destroy(swapchain, alloc); return VK_ERROR_OUT_OF_HOST_MEMORY; }