]> git.sesse.net Git - ffmpeg/commit
avformat/srtdec: Fix memleak upon read header failure
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 14 Jun 2020 01:23:27 +0000 (03:23 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 14:54:06 +0000 (16:54 +0200)
commitc70409957c7332971f0e147729d769f6d2f95390
treeeb0636b045a4fcedfc33beb96cdf1726be203fe2
parentf3c63e67bb00fa7d96595203d01a576df651e275
avformat/srtdec: 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/srtdec.c