evolution-data-server r8433 - in trunk/calendar: . libecal



Author: msuman
Date: Mon Jan 28 05:24:46 2008
New Revision: 8433
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8433&view=rev

Log:
Patch from Chenthill Palanisamy  <pchenthill novell com> ** Fix for bug #475781 (Memory leaks around ECalComponentDateTime)

Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/libecal/e-cal.c

Modified: trunk/calendar/libecal/e-cal.c
==============================================================================
--- trunk/calendar/libecal/e-cal.c	(original)
+++ trunk/calendar/libecal/e-cal.c	Mon Jan 28 05:24:46 2008
@@ -3450,6 +3450,8 @@
 						       uid,
 						       i_rid,
 						       d_rid);
+
+						e_cal_component_free_datetime (&instance_recur_id.datetime);
 						continue;
 					}
 					cmp = icaltime_compare (*instance_recur_id.datetime.value,
@@ -3470,8 +3472,11 @@
 					}
 				}
 			}
+			e_cal_component_free_datetime (&instance_recur_id.datetime);
 		}
 
+		e_cal_component_free_datetime (&recur_id.datetime);
+
 		if (!processed)
 			unprocessed_instances = g_list_prepend (unprocessed_instances, cid);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]