avcodec/jpeg2000dec: Free packed_headers
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 13 May 2020 20:42:14 +0000 (22:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 May 2020 22:36:20 +0000 (00:36 +0200)
commitea29f07b2f0ef6f97f34ddd3478769f19fdcde90
tree1a7212a2241e3e44a0cfd8151aedaa24ba261015
parent1ead7ed5bf3a0a96ceba3d76e7dca5e54fff2dd5
avcodec/jpeg2000dec: Free packed_headers

Fixes: memleak
Fixes: 21784/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-565256551058636

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Gautam Ramakrishnan <gautamramk@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeg2000dec.c