Commit c2d57a34 authored by Michael Niedermayer's avatar Michael Niedermayer

memleak fix

Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment