diff options
author | Milan Crha <mcrha@redhat.com> | 2008-03-27 21:08:06 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-03-27 21:08:06 +0800 |
commit | 660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a (patch) | |
tree | 89dd4b8adacea9fbc45d708c00ef9520c6e26a06 /plugins/itip-formatter | |
parent | dbb506b6434f336bf63a6095b145c99326d84397 (diff) | |
download | gsoc2013-evolution-660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a.tar gsoc2013-evolution-660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a.tar.gz gsoc2013-evolution-660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a.tar.bz2 gsoc2013-evolution-660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a.tar.lz gsoc2013-evolution-660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a.tar.xz gsoc2013-evolution-660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a.tar.zst gsoc2013-evolution-660c728dcca85bb4f0f1533ae9fb26d0bf0f1b8a.zip |
** Fix for bug #523541
2008-03-27 Milan Crha <mcrha@redhat.com>
** Fix for bug #523541
* itip-formatter.c: (find_server):
Do not leak memory returned by e_cal_component_get_recurid_as_string.
svn path=/trunk/; revision=35275
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index e89d2578eb..ab9127e883 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,10 @@ +2008-03-27 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #523541 + + * itip-formatter.c: (find_server): + Do not leak memory returned by e_cal_component_get_recurid_as_string. + 2008-02-25 Chenthill Palanisamy <pchenthill@novell.com> * itip-formatter.c: (find_server), (update_attendee_status): Free diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 209211fab6..cd7199920b 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -790,6 +790,8 @@ find_server (struct _itip_puri *pitip, ECalComponent *comp) fd->puri = pitip; fd->uid = g_strdup (uid); fd->rid = rid; + /* avoid free this at the end */ + rid = NULL; if (pitip->start_time && pitip->end_time) { start = isodate_from_time_t (pitip->start_time); @@ -815,6 +817,7 @@ find_server (struct _itip_puri *pitip, ECalComponent *comp) g_slist_free (all_sources); g_slist_free (sources_conflict); g_free (uri); + g_free (rid); } static void |