Browse Source

Fix memleak: free palette data on close.

Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Reimar Döffinger 15 years ago
parent
commit
782f69e8a5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/xan.c

+ 1
- 0
libavcodec/xan.c 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;
}


Loading…
Cancel
Save