summaryrefslogtreecommitdiff
path: root/libavcodec/xan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/xan.c')
-rw-r--r--libavcodec/xan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/xan.c b/libavcodec/xan.c
index eda6a4679d..fbd383f39b 100644
--- a/libavcodec/xan.c
+++ b/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;
}