]> git.sesse.net Git - ffmpeg/commit
avformat/webvttdec: Fix memleak upon read header failure
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 14 Jun 2020 01:29:17 +0000 (03:29 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 14:54:06 +0000 (16:54 +0200)
commitc784fe8b867e42a1c8d2c48d7046e3e0cce7ec31
tree3f236654a5674442e4af4e83472741c58abf1bd0
parent67434afa7fcb2b411b10a4d09fb30cd3a5907c2c
avformat/webvttdec: Fix memleak upon read header failure

The already parsed subtitles (contained in an FFDemuxSubtitlesQueue)
would leak if an error happened upon reading a subsequent subtitle.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/webvttdec.c