[FFmpeg-cvslog] vulkan: do not leak bound_buffer_indices

Lynne git at videolan.org
Mon Aug 28 23:33:18 EEST 2023


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Aug 26 21:53:03 2023 +0000| [d0a64f9a81530436e3b3e86767f51d481d3ce4a8] | committer: Lynne

vulkan: do not leak bound_buffer_indices

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0a64f9a81530436e3b3e86767f51d481d3ce4a8
---

 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;
 }



More information about the ffmpeg-cvslog mailing list