From 52d18d7e885bc0a745ef4ea894535574c8f817bf Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 19 Sep 2020 02:37:05 +0200 Subject: [PATCH] avformat/dashdec: Free subtitle representations on exit Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt (cherry picked from commit eb344862e4a5493900d2120952f95fb26805350c) --- libavformat/dashdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index ee24dc6467..e0cba53516 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -2257,6 +2257,7 @@ static int dash_close(AVFormatContext *s) DASHContext *c = s->priv_data; free_audio_list(c); free_video_list(c); + free_subtitle_list(c); av_dict_free(&c->avio_opts); av_freep(&c->base_url); return 0;