From 052f23a31068a41abddbb57e4a1bc867f2e6ca6e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 12 Nov 2022 10:02:15 +0100 Subject: [PATCH] avvidenc: Don't leak filename Part-of: --- subprojects/gst-libav/ext/libav/gstavvidenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-libav/ext/libav/gstavvidenc.c b/subprojects/gst-libav/ext/libav/gstavvidenc.c index 2ed9e5ae64..cc213abd63 100644 --- a/subprojects/gst-libav/ext/libav/gstavvidenc.c +++ b/subprojects/gst-libav/ext/libav/gstavvidenc.c @@ -226,6 +226,7 @@ gst_ffmpegvidenc_finalize (GObject * object) gst_ffmpeg_avcodec_close (ffmpegenc->refcontext); av_freep (&ffmpegenc->context); av_freep (&ffmpegenc->refcontext); + g_free (ffmpegenc->filename); G_OBJECT_CLASS (parent_class)->finalize (object); }