From c2d57a34d0ae728b40310f847b9560f0a184e166 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 17 Feb 2005 00:00:20 +0000
Subject: [PATCH] memleak fix

Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/tscc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index 6cc9ca82e98..10940440470 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
-- 
GitLab