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>
Sun, 8 Jul 2018 17:45:46 +0000 (19:45 +0200)
commit2901299610c05522bbaf9ba630ef8bf0843d19af
tree2579bf8e82a668523937a0e7ab5a82a5d742f836
parent83e870beb80b1170f81910793c1347d3ae900878
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