aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraverne <averne381-at-gmail.com@ffmpeg.org>2025-06-10 20:58:56 +0200
committerLynne <dev@lynne.ee>2025-06-11 13:30:07 +0900
commitf604d1093f05cc105b66eec1da63eda083d92e84 (patch)
treefbc3f0ab783110e3aa3b7018f7740b8758f017bd
parentba52d7802e0fcb676a3311eab755b1179a67d6bb (diff)
downloadffmpeg-f604d1093f05cc105b66eec1da63eda083d92e84.tar.gz
vulkan/ffv1dec: fix leak in FFVulkanDecodeShared
-rw-r--r--libavcodec/vulkan_ffv1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vulkan_ffv1.c b/libavcodec/vulkan_ffv1.c
index c839f4c387..8329b5d7df 100644
--- a/libavcodec/vulkan_ffv1.c
+++ b/libavcodec/vulkan_ffv1.c
@@ -995,6 +995,8 @@ static void vk_decode_ffv1_uninit(FFVulkanDecodeShared *ctx)
av_buffer_pool_uninit(&fv->slice_state_pool);
av_buffer_pool_uninit(&fv->slice_offset_pool);
av_buffer_pool_uninit(&fv->slice_status_pool);
+
+ av_freep(&fv);
}
static int vk_decode_ffv1_init(AVCodecContext *avctx)