aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/dialogs/comp-editor.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index ede1dcd822..3328f2bf44 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-19 Harish Krishnaswamy <kharish@novell.com>
+
+ * gui/dialogs/comp-editor.c (fill_widgets):
+ Free GSList and its data after calling
+ e_cal_component_get_attachment_list.
+
2006-06-14 Arvind_evo <sa.phoenix@gmail.com>
* gui/dialogs/event-page.c : Enabled save button when the group is
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index d024eb7213..80827036f9 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -2357,6 +2357,8 @@ fill_widgets (CompEditor *editor)
GSList *attachment_list = NULL;
e_cal_component_get_attachment_list (priv->comp, &attachment_list);
set_attachment_list (editor, attachment_list);
+ g_slist_foreach (attachment_list, g_free, NULL);
+ g_slist_free (attachment_list);
}
for (l = priv->pages; l != NULL; l = l->next)