diff mbox series

[FFmpeg-devel,06/21] avformat/dashdec: Free subtitle representations on exit

Message ID 20200919163610.1099233-6-andreas.rheinhardt@gmail.com
State Accepted
Commit eb344862e4a5493900d2120952f95fb26805350c
Headers show
Series [FFmpeg-devel,01/21] avformat/dashdec: Avoid double free on error | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 19, 2020, 4:35 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavformat/dashdec.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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;