Browse code

bb#1450

git-svn: trunk@4892

aCaB authored on 2009/03/04 10:01:49
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Mar  4 01:59:31 CET 2009 (acab)
2
+-----------------------------------
3
+ * shared/cdiff.c: remove spurious fclose (bb#1450)
4
+
1 5
 Tue Mar  3 20:40:07 CET 2009 (acab)
2 6
 -----------------------------------
3 7
  * clamav-milter: Allow custom rejection messages, workaround ancient
... ...
@@ -1043,7 +1043,6 @@ int cdiff_apply(int fd, unsigned short mode)
1043 1043
 		    if(!r1 || !r2) {
1044 1044
 			logg("!cdiff_apply: Can't resize line buffer to %d bytes\n", line_size);
1045 1045
 			cdiff_ctx_free(&ctx);
1046
-			fclose(fh);
1047 1046
 			free(line);
1048 1047
 			free(lbuf);
1049 1048
 			return -1;