Browse Source

memleak fix

Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
c2d57a34d0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/tscc.c

+ 2
- 0
libavcodec/tscc.c View File

@@ -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…
Cancel
Save