aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor.c2
1 files changed, 2 insertions, 0 deletions
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)