]> git.sesse.net Git - ffmpeg/commit
avformat/jacosubdec: Fix memleak upon read header failure
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 14 Jun 2020 01:09:08 +0000 (03:09 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 14:54:05 +0000 (16:54 +0200)
commitc13a752733a9af955b032c55f704b748fe37dd19
tree896352b59a5c74d85671715f33aef29f1a5bd1dd
parent5ab39c2d8c1e5e00b48d758eee7d5ae435a99ef7
avformat/jacosubdec: 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/jacosubdec.c