From 4287319c9d34be4a358046065304d59634cb70e3 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 26 Jan 2005 05:04:48 +0000 Subject: make sure we free the user list 2005-01-26 JP Rosevear * gui/itip-utils.c (itip_send_comp): make sure we free the user list svn path=/trunk/; revision=28559 --- calendar/gui/itip-utils.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'calendar/gui') 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) -- cgit v1.2.3