Fix memleak: free palette data on close.

Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Reimar Döffinger 14 years ago
parent 73d0e33102
commit 782f69e8a5
  1. 1
      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;
}

Loading…
Cancel
Save