From d0a64f9a81530436e3b3e86767f51d481d3ce4a8 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 26 Aug 2023 21:53:03 +0000 Subject: [PATCH] vulkan: do not leak bound_buffer_indices --- libavutil/vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 00a7b5b801..dec8ccad64 100644 --- a/libavutil/vulkan.c +++ b/libavutil/vulkan.c @@ -1884,6 +1884,7 @@ void ff_vk_pipeline_free(FFVulkanContext *s, FFVulkanPipeline *pl) av_freep(&pl->desc_set); av_freep(&pl->desc_bind); + av_freep(&pl->bound_buffer_indices); av_freep(&pl->push_consts); pl->push_consts_num = 0; }