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, 9 Jul 2018 23:52:55 +0000 (01:52 +0200)
commit6f68d2ca0b04731eed95aa4993fdee1f68359702
tree7f58b58b4e3a1c8abe485426bbf14fbbf1d33640
parent60e7be58d996b8f14e99876472fdbdbc4db370d8
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