mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
avvidenc: Don't leak filename
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
This commit is contained in:
parent
c00da50c61
commit
052f23a310
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ gst_ffmpegvidenc_finalize (GObject * object)
|
||||||
gst_ffmpeg_avcodec_close (ffmpegenc->refcontext);
|
gst_ffmpeg_avcodec_close (ffmpegenc->refcontext);
|
||||||
av_freep (&ffmpegenc->context);
|
av_freep (&ffmpegenc->context);
|
||||||
av_freep (&ffmpegenc->refcontext);
|
av_freep (&ffmpegenc->refcontext);
|
||||||
|
g_free (ffmpegenc->filename);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue