avformat/jacosubdec: Cleanup when avpriv_bprint_to_extradata() fails
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 14:20:02 +0000 (15:20 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Nov 2014 14:20:54 +0000 (15:20 +0100)
commit8cd80b5fcbfaefdb92faa8f3ed0b7f5651f38481
tree8febc3639aae28499d2e74db01c22a9a0dd66320
parent3d5d95db3f5d8e2093e9e19d0c46e86f54ed2a5d
avformat/jacosubdec: Cleanup when avpriv_bprint_to_extradata() fails

Fixes memleaks
Fixes: asan_heap-oob_4d2250_814_cov_2745172097_JACOsub_capability_tester.jss
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/jacosubdec.c