aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-memos.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-25 20:38:03 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-25 20:38:03 +0800
commit33273820613ab607e93cd8252f06f7ada7d9ed61 (patch)
tree0d78539f8be151d56a5254df630f6e92964e7295 /calendar/gui/e-memos.c
parent03ee742015a029c1ac57a121752ec0ff06fcb7fb (diff)
downloadgsoc2013-evolution-33273820613ab607e93cd8252f06f7ada7d9ed61.tar
gsoc2013-evolution-33273820613ab607e93cd8252f06f7ada7d9ed61.tar.gz
gsoc2013-evolution-33273820613ab607e93cd8252f06f7ada7d9ed61.tar.bz2
gsoc2013-evolution-33273820613ab607e93cd8252f06f7ada7d9ed61.tar.lz
gsoc2013-evolution-33273820613ab607e93cd8252f06f7ada7d9ed61.tar.xz
gsoc2013-evolution-33273820613ab607e93cd8252f06f7ada7d9ed61.tar.zst
gsoc2013-evolution-33273820613ab607e93cd8252f06f7ada7d9ed61.zip
** Fix for bug #510409
2008-01-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #510409 * gui/e-memos.c: (obtain_list_of_components): * gui/e-tasks.c: (obtain_list_of_components): * gui/e-calendar-table.c: (e_calendar_table_copy_clipboard): * gui/e-memo-table.c: (e_memo_table_copy_clipboard): Do not free memmory owned by libical. * gui/e-week-view.c: (e_week_view_reshape_events): Free memory before assigning NULL. svn path=/trunk/; revision=34893
Diffstat (limited to 'calendar/gui/e-memos.c')
-rw-r--r--calendar/gui/e-memos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-memos.c b/calendar/gui/e-memos.c
index 397e0fd17c..69d1f8db68 100644
--- a/calendar/gui/e-memos.c
+++ b/calendar/gui/e-memos.c
@@ -417,7 +417,9 @@ obtain_list_of_components (gpointer data, gpointer user_data)
const char *source_uid = e_source_peek_uid (source);
*list = g_slist_prepend (*list, g_strdup_printf ("%s\n%s", source_uid, comp_str));
- g_free (comp_str);
+
+ /* do not free this pointer, it owns libical */
+ /* g_free (comp_str); */
}
icalcomponent_free (vcal);