projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d38fd1
)
memleak fix
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 17 Feb 2005 00:00:20 +0000
(
00:00
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 17 Feb 2005 00:00:20 +0000
(
00:00
+0000)
Originally committed as revision 3962 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/tscc.c
patch
|
blob
|
history
diff --git
a/libavcodec/tscc.c
b/libavcodec/tscc.c
index
6cc9ca8
..
1094044
100644
(file)
--- 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