[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-266-g1a475994e

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


The branch, gtk3 has been updated
       via  1a475994eccbd14e95188c754f4957393300b5d0 (commit)
      from  cd6958cda2e86bdff6983bf8f52657912942422c (commit)

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


- Log -----------------------------------------------------------------
commit 1a475994eccbd14e95188c754f4957393300b5d0
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 b1adbd4b5..e884e6535 100644
--- a/src/plugins/vcalendar/vcal_meeting_gtk.c
+++ b/src/plugins/vcalendar/vcal_meeting_gtk.c
@@ -1956,7 +1956,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);
@@ -1978,7 +1977,6 @@ putfile:
 
 	if (automatic && (!path || strlen(path) == 0 || !vcalprefs.export_enable)) {
 		g_free(tmpfile);
-		g_free(internal_file);
 		g_free(file);
 		return TRUE;
 	}
@@ -2014,7 +2012,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