aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
parent57666591c755c0de5f5d82066b02d930bf8e288f (diff)
downloadgsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.tar
gsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.tar.gz
gsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.tar.bz2
gsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.tar.lz
gsoc2013-evolution-010edfb73345e87300c99271144800b645550f24.tar.xz
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')
-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)