aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@novell.com>2006-06-19 15:38:52 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2006-06-19 15:38:52 +0800
commit010edfb73345e87300c99271144800b645550f24 (patch)
tree4f3bd98e955437bed70032eadef0350c5c3e1b9e /calendar/gui/dialogs
parent57666591c755c0de5f5d82066b02d930bf8e288f (diff)
downloadgsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.tar.gz
gsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.tar.zst
gsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.zip
Free GSList and its data after calling
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. svn path=/trunk/; revision=32168
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)