Commit 782f69e8 authored by Reimar Döffinger's avatar Reimar Döffinger

Fix memleak: free palette data on close.

Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 73d0e331
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment