avformat/lrcdec: Fix memory leak in lrc_read_header()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Nikolas Bowe 2018-01-19 13:17:07 -08:00 committed by Michael Niedermayer
parent 6f62b0bd4f
commit ef5994e09d
1 changed files with 1 additions and 0 deletions

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