avcodec/iff: Cleanup on init failure
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Jun 2017 12:05:12 +0000 (14:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Jun 2017 12:05:57 +0000 (14:05 +0200)
commit9a6503f496ae496dd6b1f54fd5752d48435361b0
treef96fbdfcaf9af11976ff920566ef2e5cdc14f0a6
parentc557718bea35d39fc7e07a1d9d7cc6c7910643b8
avcodec/iff: Cleanup on init failure

Fixes: memleak
Fixes: 2272/clusterfuzz-testcase-minimized-5059103858622464

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