blob: 24c4403c746565530836d775cff1d15e39bfe566 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- src/png.c 2014-05-28 12:02:50.000000000 +0200
+++ src2/png.c 2014-05-28 12:02:43.569815883 +0200
@@ -1608,7 +1608,7 @@
}
res = 1;
fail: mem_free_chanlist(w_set.img);
- DGifCloseFile(giffy);
+ DGifCloseFile(giffy, NULL);
return (res);
}
@@ -1659,7 +1659,7 @@
}
}
res = 1;
-fail: DGifCloseFile(giffy);
+fail: DGifCloseFile(giffy, NULL);
return (res);
}
@@ -1725,7 +1725,7 @@
if (!settings->silent) progress_end();
msg = 0;
-fail: EGifCloseFile(giffy);
+fail: EGifCloseFile(giffy, NULL);
#ifndef WIN32
/* giflib creates files with 0600 permissions, which is nasty - WJ */
mode = umask(0022);
|