From 0842ee913edc381b2220023f768d64474c19b5a5 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 20 Feb 2009 10:46:50 +0000 Subject: ** Fix for bug #567949 2009-02-20 Milan Crha ** Fix for bug #567949 * gui/e-day-view.c: (set_text_as_bold): * gui/e-week-view.c: (set_text_as_bold): Do not free memory before done with it. svn path=/trunk/; revision=37298 --- calendar/gui/e-week-view.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'calendar/gui/e-week-view.c') diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index f9328f1c97..37d7dbe645 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1898,15 +1898,16 @@ set_text_as_bold (EWeekViewEvent *event, EWeekViewEventSpan *span) break; } } - e_cal_component_free_attendee_list (attendees); - g_free (address); - g_object_unref (comp); /* The attendee has not yet accepted the meeting, display the summary as bolded. If the attendee is not present, it might have come through a mailing list. In that case, we never show the meeting as bold even if it is unaccepted. */ if (at && (at->status == ICAL_PARTSTAT_NEEDSACTION)) gnome_canvas_item_set (span->text_item, "bold", TRUE, NULL); + + e_cal_component_free_attendee_list (attendees); + g_free (address); + g_object_unref (comp); } /* This calls a given function for each event instance that matches the given -- cgit v1.2.3