diff mbox series

[FFmpeg-devel] vulkan: fix memory leaks

Message ID Ncnq2Xn--3-9@lynne.ee
State New
Headers show
Series [FFmpeg-devel] vulkan: fix memory leaks | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Lynne Aug. 26, 2023, 9:55 p.m. UTC
9-patch patchset to fix various memory leaks

Comments

Lynne Aug. 28, 2023, 8:33 p.m. UTC | #1
Aug 26, 2023, 23:55 by dev@lynne.ee:

> 9-patch patchset to fix various memory leaks
>

Pushed.
diff mbox series

Patch

From 9bc961536561a07665e198f3c68fc5922edb5a2e Mon Sep 17 00:00:00 2001
From: Lynne <dev@lynne.ee>
Date: Sat, 26 Aug 2023 23:20:47 +0200
Subject: [PATCH 1/9] vulkan: do not leak cooperative matrix properties

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