mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
memleak fix
Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -305,6 +305,8 @@ static int decode_end(AVCodecContext *avctx)
|
||||
{
|
||||
CamtasiaContext * const c = (CamtasiaContext *)avctx->priv_data;
|
||||
|
||||
av_freep(&c->decomp_buf);
|
||||
|
||||
if (c->pic.data[0])
|
||||
avctx->release_buffer(avctx, &c->pic);
|
||||
#ifdef CONFIG_ZLIB
|
||||
|
||||
Reference in New Issue
Block a user