avformat/realtextdec: free queue on error
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Aug 2019 18:37:17 +0000 (20:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Aug 2019 16:35:44 +0000 (18:35 +0200)
commit493438fafc5c43b7b7c62bf0c21b7cc884034ce9
tree1a971579e62a37b4463763b171ebc82f4cea418f
parentab56e62e8f7e02760cfc883956511cab32393315
avformat/realtextdec: free queue on error

Fixes: memleak
Fixes: 16277/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5696629440512000

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/realtextdec.c