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:
parent
73d0e33102
commit
782f69e8a5
@ -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…
Reference in New Issue
Block a user