[Commits] vcal_folder.c 1.2.2.116 1.2.2.117

colin at claws-mail.org colin at claws-mail.org
Sat Nov 5 15:51:34 CET 2011


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

Modified Files:
      Tag: gtk2
	vcal_folder.c 
Log Message:
2011-11-05 [colin]	2.0.11cvs9

	* src/vcal_folder.c
		Free unused event

Index: vcal_folder.c
===================================================================
RCS file: /home/claws-mail/plugins/vcalendar/src/vcal_folder.c,v
retrieving revision 1.2.2.116
retrieving revision 1.2.2.117
diff -u -d -r1.2.2.116 -r1.2.2.117
--- vcal_folder.c	2 Nov 2011 20:51:43 -0000	1.2.2.116
+++ vcal_folder.c	5 Nov 2011 14:51:32 -0000	1.2.2.117
@@ -632,7 +632,10 @@
 					data = icalfeeddata_new(evt, NULL);
 					i++;
 					goto add_new;
-				} 
+				} else {
+					icalcomponent_free(evt);
+					evt = NULL;
+				}
 			}
 			g_free(orig_uid);
 		} else {



More information about the Commits mailing list