summarylogtreecommitdiffstats
path: root/libarchive-depr-fix.patch
blob: dfefd183603ba007c20a8547776c63d926887b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/rdup-1.1.14/rdup-tr.c b/rdup-1.1.14/rdup-tr.c
index 2b7d05c..3b671fc 100644
--- a/rdup-1.1.14/rdup-tr.c
+++ b/rdup-1.1.14/rdup-tr.c
@@ -364,7 +364,7 @@ not_s_isreg:
 
 	if (opt_output != O_RDUP) {
 		archive_write_close(archive);
-		archive_write_finish(archive);
+		archive_write_free(archive);
 	}
 	g_free(readbuf);
 	g_free(buf);