[Commits] vcal_meeting_gtk.c 1.1.2.94 1.1.2.95

colin at claws-mail.org colin at claws-mail.org
Sun Oct 30 11:12:56 CET 2011


Update of /home/claws-mail/plugins/vcalendar/src
In directory claws-mail:/tmp/cvs-serv28668/src

Modified Files:
      Tag: gtk2
	vcal_meeting_gtk.c 
Log Message:
2011-10-30 [colin]	2.0.11cvs6

	* src/vcal_meeting_gtk.c
		Double-free here too

Index: vcal_meeting_gtk.c
===================================================================
RCS file: /home/claws-mail/plugins/vcalendar/src/vcal_meeting_gtk.c,v
retrieving revision 1.1.2.94
retrieving revision 1.1.2.95
diff -u -d -r1.1.2.94 -r1.1.2.95
--- vcal_meeting_gtk.c	22 Oct 2011 18:26:41 -0000	1.1.2.94
+++ vcal_meeting_gtk.c	30 Oct 2011 10:12:54 -0000	1.1.2.95
@@ -2058,9 +2058,9 @@
 	g_free(internal_file);
 
 	for (cur = subs; cur; cur = cur->next) {
+		/* Not to be freed */
 		icalcomponent *event = (icalcomponent *)cur->data;
 		vcal_manager_icalevent_dump(event, NULL, calendar);
-		icalcomponent_free(event);
 	}
 
 	if (vcalprefs.export_enable || path == NULL) {



More information about the Commits mailing list