avcodec/wmalosslessdec: Set FF_CODEC_CAP_INIT_CLEANUP
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 30 Oct 2019 22:31:51 +0000 (23:31 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 Dec 2019 15:09:14 +0000 (16:09 +0100)
commita2d6b2042ee373467b0a910502292406f348622f
tree5d53f696121abab79a6269a5d27ba7ae4691428b
parent6e15ba2d1f688c61759001839811b11903de9ce0
avcodec/wmalosslessdec: Set FF_CODEC_CAP_INIT_CLEANUP

Fixes: memleaks
Fixes: 18429/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-6210814364614656
Fixes: 18722/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-5680535690543104

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wmalosslessdec.c