[Commits] [SCM] claws branch, master, updated. 3.18.0-96-g6f604e06b

wwp at claws-mail.org wwp at claws-mail.org
Fri Sep 10 10:33:48 CEST 2021


The branch, master has been updated
       via  6f604e06bde7aa936cfe644531d7452a6a90872f (commit)
      from  badf457436adc4cbea42390e4fe71323fbb2b988 (commit)

Summary of changes:
 src/plugins/archive/libarchive_archive.c | 1 -
 1 file changed, 1 deletion(-)


- Log -----------------------------------------------------------------
commit 6f604e06bde7aa936cfe644531d7452a6a90872f
Author: wwp <subscript at free.fr>
Date:   Fri Sep 10 10:33:29 2021 +0200

    Fix duplicate g_unlink (thanks, Colin).

diff --git a/src/plugins/archive/libarchive_archive.c b/src/plugins/archive/libarchive_archive.c
index b6b0979f3..7797ddd3b 100644
--- a/src/plugins/archive/libarchive_archive.c
+++ b/src/plugins/archive/libarchive_archive.c
@@ -257,7 +257,6 @@ void archive_free_file_list(gboolean md5, gboolean rename) {
 		if (rename) {
 			path = g_strdup_printf("%s/%s", file->path, file->name);
 			debug_print("unlinking %s\n", path);
-			g_unlink(path);
 			if (g_unlink(path) < 0)
                                 FILE_OP_ERROR(path, "g_unlink");
                         g_free(path);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list