summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2020-09-19 02:37:05 +0200
committerAndreas Rheinhardt <[email protected]>2020-09-21 04:31:37 +0200
commiteb344862e4a5493900d2120952f95fb26805350c (patch)
tree20ae88ff7c350fc956e01a1f11fbd9a969e7ea0e
parent7369e952676595b1ccf1e707e741f6c1f05481aa (diff)
avformat/dashdec: Free subtitle representations on exit
Reviewed-by: Steven Liu <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
-rw-r--r--libavformat/dashdec.c1
1 files changed, 1 insertions, 0 deletions
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;