aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index e0db8a12a0..3f39d72875 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -873,7 +873,9 @@ e_calendar_table_copy_clipboard (ECalendarTable *cal_table)
if (!gtk_clipboard_set_with_data(clipboard, target_types, n_target_types,
clipboard_get_calendar_cb,
NULL, comp_str)) {
- g_free (comp_str);
+
+ /* do not free this pointer, it owns libical */
+ /* g_free (comp_str); */
} else {
gtk_clipboard_set_can_store (clipboard, target_types + 1, n_target_types - 1);
}