diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-02-17 00:00:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-02-17 00:00:20 +0000 |
commit | c2d57a34d0ae728b40310f847b9560f0a184e166 (patch) | |
tree | 99e85fce1cbe6d01dabe2cf1843e8c237786762a /libavcodec/tscc.c | |
parent | 3d38fd1cd45946d1b6098523c5073422a4d1a431 (diff) | |
download | ffmpeg-c2d57a34d0ae728b40310f847b9560f0a184e166.tar.gz |
memleak fix
Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tscc.c')
-rw-r--r-- | libavcodec/tscc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c index 6cc9ca82e9..1094044047 100644 --- a/libavcodec/tscc.c +++ b/libavcodec/tscc.c @@ -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 |