diff options
author | Harish Krishnaswamy <kharish@novell.com> | 2006-06-19 15:38:52 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-06-19 15:38:52 +0800 |
commit | 010edfb73345e87300c99271144800b645550f24 (patch) | |
tree | 4f3bd98e955437bed70032eadef0350c5c3e1b9e | |
parent | 57666591c755c0de5f5d82066b02d930bf8e288f (diff) | |
download | gsoc2013-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
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 2 |
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) |