[Commits] [SCM] claws branch, master, updated. 3.18.0-94-gac9475845
Colin Leroy-Mira
colin at colino.net
Fri Sep 10 08:11:18 UTC 2021
Hi,
> g_unlink(path);
> if (g_unlink(path) < 0)
This was pre-existing, but seems weird ?
--
Colin
September 10, 2021 1:06 AM, miras at claws-mail.org wrote:
> The branch, master has been updated
> via ac947584558609b62ff23007b2ec8774d3a6188a (commit)
> from d5053bf90360444100336cecf8ebb5848e601c78 (commit)
>
> Summary of changes:
> src/plugins/archive/libarchive_archive.c | 1 +
> 1 file changed, 1 insertion(+)
>
> - Log -----------------------------------------------------------------
> commit ac947584558609b62ff23007b2ec8774d3a6188a
> Author: Michael Rasmussen <mir at datanom.net>
> Date: Fri Sep 10 01:06:39 2021 +0200
>
> Fix CID 1491395
>
> Signed-off-by: Michael Rasmussen <mir at datanom.net>
>
> diff --git a/src/plugins/archive/libarchive_archive.c b/src/plugins/archive/libarchive_archive.c
> index c28c9bcd1..b6b0979f3 100644
> --- a/src/plugins/archive/libarchive_archive.c
> +++ b/src/plugins/archive/libarchive_archive.c
> @@ -260,6 +260,7 @@ void archive_free_file_list(gboolean md5, gboolean rename) {
> g_unlink(path);
> if (g_unlink(path) < 0)
> FILE_OP_ERROR(path, "g_unlink");
> + g_free(path);
> }
> archive_free_file_info(file);
> file_list->data = NULL;
>
> -----------------------------------------------------------------------
>
> hooks/post-receive
> --
> Claws Mail
> _______________________________________________
> Commits mailing list
> Commits at lists.claws-mail.org
> https://lists.claws-mail.org/cgi-bin/mailman/listinfo/commits
More information about the Commits
mailing list