diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2008-05-29 05:36:33 +0000 |
---|---|---|
committer | Bharath Acharya <abharath@src.gnome.org> | 2008-05-29 05:36:33 +0000 |
commit | 74526fd5cdcb04efde5550a692db757883d7da46 (patch) | |
tree | 82b12a2525842cc9707a38753fc0e258a43c11e5 | |
parent | 985ab9c7562dd113e5f164901f05864c0d224c07 (diff) | |
download | evolution-data-server-74526fd5cdcb04efde5550a692db757883d7da46.tar.gz |
Committing on behalf of Chenthill Palanisamy <pchenthill@novell.com>
2008-05-29 Chenthill Palanisamy <pchenthill@novell.com>
** Fixes #388579 (bnc)
* libecal/e-cal-component.c: (free_icalcomponent): Fix for Exchange
crasher. Part of the fix was already committed. This is the last hunk.
svn path=/trunk/; revision=8867
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/libecal/e-cal-component.c | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index fa379c02f..9558fbfa2 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2008-05-29 Chenthill Palanisamy <pchenthill@novell.com> + + ** Fixes #388579 (bnc) + + * libecal/e-cal-component.c: (free_icalcomponent): Fix for Exchange + crasher. Part of the fix was already committed. This is the last hunk. + 2008-05-23 Paul Smith <psmith@gnu.org> ** Fix for bug #534077 diff --git a/calendar/libecal/e-cal-component.c b/calendar/libecal/e-cal-component.c index a43f3c383..a11424271 100644 --- a/calendar/libecal/e-cal-component.c +++ b/calendar/libecal/e-cal-component.c @@ -307,8 +307,15 @@ free_icalcomponent (ECalComponent *comp, gboolean free) priv->status = NULL; - for (l = priv->attachment_list; l != NULL; l = l->next) - g_free (l->data); + for (l = priv->attachment_list; l != NULL; l = l->next) { + struct attachment *attachment; + + attachment = l->data; + + icalattach_unref (attachment->attach); + g_free (attachment); + } + g_slist_free (priv->attachment_list); priv->attachment_list = NULL; |