Browse Source

avformat/lrcdec: Fix memory leak in lrc_read_header()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ef5994e09d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2.11
Nikolas Bowe Michael Niedermayer 8 years ago
parent
commit
4eb8e1bce2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/lrcdec.c

+ 1
- 0
libavformat/lrcdec.c View File

@@ -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;
}



Loading…
Cancel
Save