evolution-data-server r8782 - in branches/gnome-2-22/calendar: . libecal
- From: abharath svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8782 - in branches/gnome-2-22/calendar: . libecal
- Date: Mon, 12 May 2008 07:45:07 +0100 (BST)
Author: abharath
Date: Mon May 12 06:45:07 2008
New Revision: 8782
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8782&view=rev
Log:
Committing on behalf of Chenthill Palanisamy <pchenthill novell com>
2008-05-12 Chenthill Palanisamy <pchenthill novell com>
** Fixes #388579 (bnc)
Exchange crashes everytime on startup. A regression patch for the leak fixes.
Modified:
branches/gnome-2-22/calendar/ChangeLog
branches/gnome-2-22/calendar/libecal/e-cal-component.c
Modified: branches/gnome-2-22/calendar/libecal/e-cal-component.c
==============================================================================
--- branches/gnome-2-22/calendar/libecal/e-cal-component.c (original)
+++ branches/gnome-2-22/calendar/libecal/e-cal-component.c Mon May 12 06:45:07 2008
@@ -307,8 +307,15 @@
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;
@@ -532,6 +539,7 @@
attachment->prop = prop;
attachment->attach = icalproperty_get_attach (prop);
+ icalattach_ref (attachment->attach);
*attachment_list = g_slist_append (*attachment_list, attachment);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]