avformat/icodec: Free ico->images on error paths
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 8 Jun 2019 08:48:41 +0000 (10:48 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Jun 2019 16:28:00 +0000 (18:28 +0200)
commit54918b51161610a364de697b80acb9583eecf41b
tree1f5a4d16071f569efd582fa4047ab7a10048c80f
parent112eb17a2bbf6d02f81fdf0743b353a6b010aedc
avformat/icodec: Free ico->images on error paths

Fixes: 15116/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5715173567889408
Fixes: memleak

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