From eb344862e4a5493900d2120952f95fb26805350c 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 --- libavformat/dashdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 8b421a4493..3b83075e7a 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -2274,6 +2274,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;