diff options
author | Veerapuram Varadhan <vvaradan@src.gnome.org> | 2005-07-01 23:14:33 +0800 |
---|---|---|
committer | Veerapuram Varadhan <vvaradan@src.gnome.org> | 2005-07-01 23:14:33 +0800 |
commit | 7387d967a271d6c118221c2ef2d847229218b510 (patch) | |
tree | 8a33295aaca1db77532676c980a663f5436831b2 /calendar | |
parent | 760b78f8bc9b239308e3c30c834ea9986cdd6b5a (diff) | |
download | gsoc2013-evolution-7387d967a271d6c118221c2ef2d847229218b510.tar.gz gsoc2013-evolution-7387d967a271d6c118221c2ef2d847229218b510.tar.zst gsoc2013-evolution-7387d967a271d6c118221c2ef2d847229218b510.zip |
Patch from Mark G. Adams
Fixes #309138:
* Generated UIDs were not being freed.
svn path=/trunk/; revision=29614
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 2 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 71b80ab14d..1548243d23 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2005-06-27 Mark G. Adams <mark.g.adams@sympatico.ca> + + * conduits/todo/todo-conduit.c: (add_record): Fix leak of uids + * conduits/calendar/calendar-conduit.c: (process_multi_day): Fix leak of uids + 2005-07-01 Praveen Kumar <kpraveen@novell.com> * gui/e-cal-config.h : Added the source type field in diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index b3c1b5e553..f67a6b6f1e 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -646,6 +646,8 @@ process_multi_day (ECalConduitContext *ctxt, ECalChange *ccc, GList **multi_comp event_start = day_end; day_end = time_day_end_with_zone (event_start, ctxt->timezone); + + g_free (new_uid); } dt_start.value = old_start_value; dt_end.value = old_end_value; diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index 1767741270..c4bb9885d8 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -1191,6 +1191,7 @@ add_record (GnomePilotConduitSyncAbs *conduit, e_pilot_map_insert (ctxt->map, remote->ID, uid, FALSE); g_object_unref (comp); + g_free (uid); return retval; } |