Commit 695b0426 authored by michael's avatar michael

memleak fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3962 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 107b8e0d
...@@ -305,6 +305,8 @@ static int decode_end(AVCodecContext *avctx) ...@@ -305,6 +305,8 @@ static int decode_end(AVCodecContext *avctx)
{ {
CamtasiaContext * const c = (CamtasiaContext *)avctx->priv_data; CamtasiaContext * const c = (CamtasiaContext *)avctx->priv_data;
av_freep(&c->decomp_buf);
if (c->pic.data[0]) if (c->pic.data[0])
avctx->release_buffer(avctx, &c->pic); avctx->release_buffer(avctx, &c->pic);
#ifdef CONFIG_ZLIB #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