diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-25 01:54:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-25 23:09:47 +0200 |
commit | 0bd0401336df4e4ca7f3da6a7e226904fd7d5add (patch) | |
tree | f6127099af91846f0dfb4195d9a9ee00305248e6 /libavcodec/g2meet.c | |
parent | 144ce364cd2df752226115c243d92083291c9355 (diff) | |
download | ffmpeg-0bd0401336df4e4ca7f3da6a7e226904fd7d5add.tar.gz |
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>
Diffstat (limited to 'libavcodec/g2meet.c')
-rw-r--r-- | libavcodec/g2meet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c index a46157218f..b409dae813 100644 --- a/libavcodec/g2meet.c +++ b/libavcodec/g2meet.c @@ -927,6 +927,7 @@ static int epic_jb_decode_tile(G2MContext *c, int tile_x, int tile_y, if (c->ec.els_ctx.err != 0) { av_log(avctx, AV_LOG_ERROR, "ePIC: couldn't decode transparency pixel!\n"); + ff_els_decoder_uninit(&c->ec.unsigned_rung); return AVERROR_INVALIDDATA; } |