avcodec/elsdec: Fix memleaks
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 24 Apr 2018 23:54:17 +0000 (01:54 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Jul 2018 17:06:26 +0000 (19:06 +0200)
commit3d29170013b1e28770082d660e8695fe26ba4e2f
tree525a22c2b0f30ca20163a11f489b43415b07a70c
parent77121f6bff4dd08bffae2d9f94fc144636678100
avcodec/elsdec: Fix memleaks

Fixes: 6798/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-5135899701542912

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0bd0401336df4e4ca7f3da6a7e226904fd7d5add)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/elsdec.c
libavcodec/g2meet.c