mirror of https://git.ffmpeg.org/ffmpeg.git
memleak fix
Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3d38fd1cd4
commit
c2d57a34d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue