aboutsummaryrefslogtreecommitdiffstats
path: root/src/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gif.c')
-rw-r--r--src/gif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gif.c b/src/gif.c
index a6a13d6..78400f2 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -64,6 +64,8 @@ static int gif_read(struct image *img){
img->buf[j++] = colormap[idx].Blue;
}
+ DGifCloseFile(g->gif);
+
return 0;
}