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>
Wed, 4 Sep 2019 18:26:35 +0000 (20:26 +0200)
commit818a3fd27c621cb6397d58183f0658a2495f6cde
tree69f6e3710d022fc947122f1960d82882efcb2622
parentb881ea0f9e2496a1e7dc8b53038317ae80422812
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>
(cherry picked from commit 493438fafc5c43b7b7c62bf0c21b7cc884034ce9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/realtextdec.c