[Commits] [SCM] claws branch, master, updated. 3.18.0-208-g35d7347e1

wwp at claws-mail.org wwp at claws-mail.org
Thu Sep 30 09:55:47 CEST 2021


The branch, master has been updated
       via  35d7347e142b5d313e2b86440ddf80660c1f1f0c (commit)
      from  261e507d3cb4a7e36bc2a767ecc8a640e6b2aadb (commit)

Summary of changes:
 src/plugins/vcalendar/vcal_meeting_gtk.c | 3 ---
 1 file changed, 3 deletions(-)


- Log -----------------------------------------------------------------
commit 35d7347e142b5d313e2b86440ddf80660c1f1f0c
Author: wwp <subscript at free.fr>
Date:   Thu Sep 30 09:55:25 2021 +0200

    Fix memory corruption caused by a double free.

diff --git a/src/plugins/vcalendar/vcal_meeting_gtk.c b/src/plugins/vcalendar/vcal_meeting_gtk.c
index 992434e6a..4e66150e9 100644
--- a/src/plugins/vcalendar/vcal_meeting_gtk.c
+++ b/src/plugins/vcalendar/vcal_meeting_gtk.c
@@ -1942,7 +1942,6 @@ gboolean vcal_meeting_export_calendar(const gchar *path,
 		if (str_write_to_file(icalcomponent_as_ical_string(calendar), tmpfile, TRUE) < 0) {
 			alertpanel_error(_("Could not export the calendar."));
 			g_free(tmpfile);
-			g_free(internal_file);
 			icalcomponent_free(calendar);
 			g_slist_free(list);
 			g_slist_free(subs);
@@ -1964,7 +1963,6 @@ putfile:
 
 	if (automatic && (!path || strlen(path) == 0 || !vcalprefs.export_enable)) {
 		g_free(tmpfile);
-		g_free(internal_file);
 		g_free(file);
 		return TRUE;
 	}
@@ -2000,7 +1998,6 @@ putfile:
 		}
 	}
 	g_free(tmpfile);
-	g_free(internal_file);
 	g_free(file);
 	return res;
 }

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list