Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/img-gif.c b/src/img-gif.c
- index 44813a9..d0327dc 100644
- --- a/src/img-gif.c
- +++ b/src/img-gif.c
- @@ -145,8 +145,10 @@ sgif_read(session_t *ps, const char *path) {
- sgif_read_end:
- if (data)
- free(data);
- - if (likely(f))
- - DGifCloseFile(f);
- + if (likely(f)){
- + int err;
- + DGifCloseFile(f, &err);
- + }
- return pictw;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement