[SCM] libav/experimental: Fix memleak: free palette data on close.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:19:23 UTC 2013
The following commit has been merged in the experimental branch:
commit 782f69e8a583168f5018529fbd0f6ee3903df81f
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Tue Nov 23 20:42:03 2010 +0000
Fix memleak: free palette data on close.
Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/xan.c b/libavcodec/xan.c
index eda6a46..fbd383f 100644
--- a/libavcodec/xan.c
+++ b/libavcodec/xan.c
@@ -559,6 +559,7 @@ static av_cold int xan_decode_end(AVCodecContext *avctx)
av_freep(&s->buffer1);
av_freep(&s->buffer2);
+ av_freep(&s->palettes);
return 0;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list