From 073c3e8837ffaef985304f58c5308c53c95d9bd9 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Thu, 9 May 2024 18:47:02 +0300 Subject: [PATCH] render/vulkan: free render format setups on destroy --- render/vulkan/renderer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 0ff4154a..a20a29cb 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -165,6 +165,8 @@ static void destroy_render_format_setup(struct wlr_vk_renderer *renderer, vkDestroyPipeline(dev, pipeline->vk, NULL); free(pipeline); } + + free(setup); } static void shared_buffer_destroy(struct wlr_vk_renderer *r,