[FFmpeg-cvslog] vulkan: do not leak cooperative matrix properties

Lynne git at videolan.org
Mon Aug 28 23:32:58 EEST 2023


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Aug 26 23:20:47 2023 +0200| [747871a42c0021fd82f0ca806b8419a29f627d7f] | committer: Lynne

vulkan: do not leak cooperative matrix properties

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

 libavutil/vulkan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 684b92de57..8e36ba508c 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -1893,6 +1893,7 @@ void ff_vk_uninit(FFVulkanContext *s)
     av_freep(&s->query_props);
     av_freep(&s->qf_props);
     av_freep(&s->video_props);
+    av_freep(&s->coop_mat_props);
 
     av_buffer_unref(&s->frames_ref);
 }



More information about the ffmpeg-cvslog mailing list