diff options
Diffstat (limited to 'calendar/gui/e-cal-model.c')
-rw-r--r-- | calendar/gui/e-cal-model.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index bf1792fd52..1e8acf3334 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -346,9 +346,11 @@ get_description (ECalModelComponent *comp_data) icalproperty *prop; static GString *str = NULL; - if (str) + if (str) { g_string_free (str, TRUE); - + str = NULL; + } + prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_DESCRIPTION_PROPERTY); if (prop) { str = g_string_new (""); |