diff options
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 51fb4b80c3..e1aa2c2acc 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,9 @@ +2006-06-19 Harish Krishnaswamy <kharish@novell.com> + + * itip-formatter.c (update_item): + Free GSList and its data after calling + e_cal_component_get_attachment_list. + 2006-06-16 Sankar P <psankar@novell.com> * itip-formatter.c: (view_response_cb): diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 8e08be72e3..4e1df08b16 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -833,6 +833,9 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response) new_attachments = g_slist_append (new_attachments, g_strdup (uri)); } } + + g_slist_foreach (attachments, g_free, NULL); + g_slist_free (attachments); e_cal_component_set_attachment_list (clone_comp, new_attachments); } |