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