1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix memleak: free palette data on close.

Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2010-11-23 20:42:03 +00:00
parent 73d0e33102
commit 782f69e8a5

View File

@ -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;
}