diff options
author | Nikolas Bowe <nbowe-at-google.com@ffmpeg.org> | 2018-01-19 13:17:07 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-02-19 02:40:54 +0100 |
commit | 23af1858fe2e4d4fdb3116f501e4a5021327440e (patch) | |
tree | 48b9887fff180a2aea963666b7e0cd7209681191 | |
parent | 9d0b3fa58c4b12cb0203440f9c2d5f172d4f1792 (diff) | |
download | ffmpeg-23af1858fe2e4d4fdb3116f501e4a5021327440e.tar.gz |
avformat/lrcdec: Fix memory leak in lrc_read_header()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ef5994e09d07ace62a672fcdc84761231288edad)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/lrcdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/lrcdec.c b/libavformat/lrcdec.c index d3655fccd5..1f0533f2d1 100644 --- a/libavformat/lrcdec.c +++ b/libavformat/lrcdec.c @@ -212,6 +212,7 @@ static int lrc_read_header(AVFormatContext *s) } ff_subtitles_queue_finalize(s, &lrc->q); ff_metadata_conv_ctx(s, NULL, ff_lrc_metadata_conv); + av_bprint_finalize(&line, NULL); return 0; } |