[Commits] [SCM] claws branch, master, updated. 4.3.1-23-g25ef95444
wwp at claws-mail.org
wwp at claws-mail.org
Tue Mar 4 09:31:07 UTC 2025
The branch, master has been updated
via 25ef95444ebf4da9a3e8c2fe7fed84573e59a323 (commit)
from aba502fb682be25297b715f92db56693e52afb69 (commit)
Summary of changes:
src/plugins/vcalendar/vcal_meeting_gtk.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 25ef95444ebf4da9a3e8c2fe7fed84573e59a323
Author: wwp <subscript at free.fr>
Date: Tue Mar 4 10:30:56 2025 +0100
Fix CID 1642795: Double free (USE_AFTER_FREE)
Fix CID 1642792: Double free (USE_AFTER_FREE)
diff --git a/src/plugins/vcalendar/vcal_meeting_gtk.c b/src/plugins/vcalendar/vcal_meeting_gtk.c
index 309a1b118..baeeaf053 100644
--- a/src/plugins/vcalendar/vcal_meeting_gtk.c
+++ b/src/plugins/vcalendar/vcal_meeting_gtk.c
@@ -1,7 +1,7 @@
/*
* Claws Mail -- a GTK based, lightweight, and fast e-mail client
* Copyright (C) 1999-2022 Colin Leroy <colin at colino.net> and
- * the Claws Mail team
+ * the Claws Mail team(list)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1920,8 +1920,8 @@ gboolean vcal_meeting_export_calendar(const gchar *path,
subs = vcal_folder_get_webcal_events();
if (g_slist_length(list) == 0 && g_slist_length(subs) == 0) {
- g_slist_free(list);
- g_slist_free(subs);
+ list = NULL;
+ subs = NULL;
if (!automatic) {
alertpanel_full(_("Empty calendar"),
_("There is nothing to export."),
@@ -1929,6 +1929,8 @@ gboolean vcal_meeting_export_calendar(const gchar *path,
ALERTFOCUS_FIRST, FALSE, NULL, ALERT_NOTICE);
g_free(tmpfile);
g_free(internal_file);
+ g_slist_free(list);
+ g_slist_free(subs);
return FALSE;
} else {
str_write_to_file("", tmpfile, TRUE);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list