提交 c2d57a34 编写于 作者: M Michael Niedermayer

memleak fix

Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 3d38fd1c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册