aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-alarm-list.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/e-alarm-list.c b/calendar/gui/e-alarm-list.c
index 2e6a12e880..48b55bbc02 100644
--- a/calendar/gui/e-alarm-list.c
+++ b/calendar/gui/e-alarm-list.c
@@ -556,7 +556,7 @@ e_alarm_list_get_value (GtkTreeModel *tree_model,
EAlarmList *alarm_list = E_ALARM_LIST (tree_model);
ECalComponentAlarm *alarm;
GList *l;
- const gchar *str;
+ gchar *str;
g_return_if_fail (E_IS_ALARM_LIST (tree_model));
g_return_if_fail (column < E_ALARM_LIST_NUM_COLUMNS);
@@ -568,7 +568,7 @@ e_alarm_list_get_value (GtkTreeModel *tree_model,
if (!alarm_list->list)
return;
- l = iter->user_data;
+ l = iter->user_data;
alarm = l->data;
if (!alarm)
@@ -578,6 +578,7 @@ e_alarm_list_get_value (GtkTreeModel *tree_model,
case E_ALARM_LIST_COLUMN_DESCRIPTION:
str = get_alarm_string (alarm);
g_value_set_string (value, str);
+ g_free (str);
break;
}
}