Blob Blame History Raw
diff -up evolution-data-server-3.8.5/calendar/libecal/e-cal-client.c.memory-leaks evolution-data-server-3.8.5/calendar/libecal/e-cal-client.c
--- evolution-data-server-3.8.5/calendar/libecal/e-cal-client.c.memory-leaks	2013-07-23 13:58:10.000000000 +0200
+++ evolution-data-server-3.8.5/calendar/libecal/e-cal-client.c	2014-05-13 14:19:17.381979346 +0200
@@ -4022,6 +4022,8 @@ e_cal_client_get_object_list_sync (ECalC
 
 	*out_icalcomps = g_slist_reverse (tmp);
 
+	g_strfreev (strv);
+
 	return TRUE;
 }
 
diff -up evolution-data-server-3.8.5/calendar/libecal/e-cal-component.c.memory-leaks evolution-data-server-3.8.5/calendar/libecal/e-cal-component.c
--- evolution-data-server-3.8.5/calendar/libecal/e-cal-component.c.memory-leaks	2013-07-23 13:58:10.000000000 +0200
+++ evolution-data-server-3.8.5/calendar/libecal/e-cal-component.c	2014-05-13 14:19:17.382979346 +0200
@@ -4454,16 +4454,19 @@ set_alarm_description_cb (gpointer key,
 	SetAlarmDescriptionData *sadd;
 	gboolean changed = FALSE;
 	const gchar *old_summary = NULL;
+	gboolean free_description = FALSE;
 
 	alarm = value;
 	sadd = user_data;
 
 	/* set the new description on the alarm */
 	desc_prop = icalcomponent_get_first_property (alarm, ICAL_DESCRIPTION_PROPERTY);
-	if (desc_prop)
+	if (desc_prop) {
 		old_summary = icalproperty_get_description (desc_prop);
-	else
+	} else {
 		desc_prop = icalproperty_new_description (sadd->new_summary);
+		free_description = TRUE;
+	}
 
 	/* remove the X-EVOLUTION-NEEDS_DESCRIPTION property */
 	icalprop = icalcomponent_get_first_property (alarm, ICAL_X_PROPERTY);
@@ -4488,6 +4491,9 @@ set_alarm_description_cb (gpointer key,
 			icalproperty_set_description (desc_prop, sadd->new_summary);
 		}
 	}
+
+	if (free_description)
+		icalproperty_free (desc_prop);
 }
 
 /**
diff -up evolution-data-server-3.8.5/libedataserver/e-source-registry.c.memory-leaks evolution-data-server-3.8.5/libedataserver/e-source-registry.c
--- evolution-data-server-3.8.5/libedataserver/e-source-registry.c.memory-leaks	2013-07-23 13:57:33.000000000 +0200
+++ evolution-data-server-3.8.5/libedataserver/e-source-registry.c	2014-05-13 14:19:17.382979346 +0200
@@ -3038,7 +3038,7 @@ e_source_registry_dup_unique_display_nam
 	link = g_list_find (list, source);
 	if (link != NULL) {
 		g_object_unref (link->data);
-		list = g_list_remove_link (list, link);
+		list = g_list_delete_link (list, link);
 	}
 
 	/* Now find another source with a matching display name. */