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, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitcc8710b5afebe211a4402311d036d11b8f46510d
tree64a5288ab6e0e3b1142eb50d330458f2ad7794f9
parent70c7c7392089c7c68b6f07184dbb3073799f5d29
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