From 5c0f6d53da154ef51933eb5820424612aedda50d Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 3 Apr 2021 11:54:12 +0200 Subject: avcodec/rawdec: Free bitstream_buf Signed-off-by: Andreas Rheinhardt --- libavcodec/rawdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/rawdec.c') diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 1badb69180..d3756328ba 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -484,6 +484,7 @@ static av_cold int raw_close_decoder(AVCodecContext *avctx) RawVideoContext *context = avctx->priv_data; av_buffer_unref(&context->palette); + av_freep(&context->bitstream_buf); return 0; } -- cgit v1.2.1