changeset 2510:5e9f8eef19b9 libavcodec

memleak fix
author michael
date Thu, 17 Feb 2005 00:00:20 +0000
parents b3b06ba8787c
children 366e8a09eb6e
files tscc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tscc.c	Wed Feb 16 23:18:06 2005 +0000
+++ b/tscc.c	Thu Feb 17 00:00:20 2005 +0000
@@ -305,6 +305,8 @@
 {
     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