From e20ae113f816c8091ee77e73d7341983e2a74c87 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Thu, 9 May 2024 18:43:28 +0300 Subject: [PATCH] render/vulkan: free pipeline layouts on destroy --- render/vulkan/renderer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 3c239cb1d..0ff4154a7 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -1114,6 +1114,7 @@ static void vulkan_destroy(struct wlr_renderer *wlr_renderer) { vkDestroyDescriptorSetLayout(dev->dev, pipeline_layout->ds, NULL); vkDestroySampler(dev->dev, pipeline_layout->sampler, NULL); vkDestroySamplerYcbcrConversion(dev->dev, pipeline_layout->ycbcr.conversion, NULL); + free(pipeline_layout); } if (renderer->output_ds_lut3d_dummy_pool) {