Advertisement
Guest User

Untitled

a guest
Jun 15th, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. diff --git a/src/img-gif.c b/src/img-gif.c
  2. index 44813a9..d0327dc 100644
  3. --- a/src/img-gif.c
  4. +++ b/src/img-gif.c
  5. @@ -145,8 +145,10 @@ sgif_read(session_t *ps, const char *path) {
  6. sgif_read_end:
  7. if (data)
  8. free(data);
  9. - if (likely(f))
  10. - DGifCloseFile(f);
  11. + if (likely(f)){
  12. + int err;
  13. + DGifCloseFile(f, &err);
  14. + }
  15.  
  16. return pictw;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement