diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-30 05:08:37 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:33 +0800 |
commit | 19307b54bc826cebbdea8cd7e1cdd8499bc1076f (patch) | |
tree | 4ac607b111a61163647ee777339fc5d1b490b4f0 /calendar/gui/e-calendar-view.c | |
parent | a624e7b4836cf810a528ea422e9961b2babf88fc (diff) | |
download | gsoc2013-evolution-19307b54bc826cebbdea8cd7e1cdd8499bc1076f.tar.gz gsoc2013-evolution-19307b54bc826cebbdea8cd7e1cdd8499bc1076f.tar.zst gsoc2013-evolution-19307b54bc826cebbdea8cd7e1cdd8499bc1076f.zip |
Add a bit more error checking and do not leak icalcomponent-s
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r-- | calendar/gui/e-calendar-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 32c5301fe1..8f87026f65 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -2091,6 +2091,8 @@ e_calendar_view_get_icalcomponent_summary (ECalClient *client, icalcomponent *ic summary = g_strdup_printf ("%s (%d)", summary ? summary : "", dtnow.year - dtstart.year); *free_text = summary != NULL; } + + icalcomponent_free (item_icalcomp); } } |