1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

libavcodec/speexdec: fix memleak in error path

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Zhao Zhili 2021-10-11 15:39:39 +08:00 committed by Andreas Rheinhardt
parent f626a3d0e0
commit a742ba60f1

View File

@ -1586,5 +1586,5 @@ const AVCodec ff_speex_decoder = {
.close = speex_decode_close,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
.priv_data_size = sizeof(SpeexContext),
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};