aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-26 13:04:48 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-26 13:04:48 +0800
commit4287319c9d34be4a358046065304d59634cb70e3 (patch)
tree31fcc321c35859bfb83ffd823f12b987df74fce8 /calendar
parentd9977014413961c4914c90b100e84911f3936d81 (diff)
downloadgsoc2013-evolution-4287319c9d34be4a358046065304d59634cb70e3.tar.gz
gsoc2013-evolution-4287319c9d34be4a358046065304d59634cb70e3.tar.zst
gsoc2013-evolution-4287319c9d34be4a358046065304d59634cb70e3.zip
make sure we free the user list
2005-01-26 JP Rosevear <jpr@novell.com> * gui/itip-utils.c (itip_send_comp): make sure we free the user list svn path=/trunk/; revision=28559
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/itip-utils.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 89435f2dde..e5938314ce 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-26 JP Rosevear <jpr@novell.com>
+
+ * gui/itip-utils.c (itip_send_comp): make sure we free the user
+ list
+
2005-01-25 Li Yuan <li.yuan@sun.com>
* gui/e-calendar-table.c: (e_calendar_table_init):
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 36ddbea045..a9fac69138 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1016,6 +1016,11 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp,
if (top_level != NULL)
icalcomponent_free (top_level);
+ if (users) {
+ g_list_foreach (users, (GFunc) g_free, NULL);
+ g_list_free (users);
+ }
+
if (to_list != NULL)
CORBA_free (to_list);
if (cc_list != NULL)