[FFmpeg-cvslog] r25816 - trunk/libavcodec/xan.c
reimar
subversion
Tue Nov 23 21:42:04 CET 2010
Author: reimar
Date: Tue Nov 23 21:42:03 2010
New Revision: 25816
Log:
Fix memleak: free palette data on close.
Modified:
trunk/libavcodec/xan.c
Modified: trunk/libavcodec/xan.c
==============================================================================
--- trunk/libavcodec/xan.c Tue Nov 23 13:04:50 2010 (r25815)
+++ trunk/libavcodec/xan.c Tue Nov 23 21:42:03 2010 (r25816)
@@ -559,6 +559,7 @@ static av_cold int xan_decode_end(AVCode
av_freep(&s->buffer1);
av_freep(&s->buffer2);
+ av_freep(&s->palettes);
return 0;
}
More information about the ffmpeg-cvslog
mailing list