[SCM] libav/experimental: memleak fix

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:43:07 UTC 2013


The following commit has been merged in the experimental branch:
commit c2d57a34d0ae728b40310f847b9560f0a184e166
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Feb 17 00:00:20 2005 +0000

    memleak fix
    
    Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index 6cc9ca8..1094044 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list