aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-list-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-15 02:15:36 +0800
committerMilan Crha <mcrha@redhat.com>2011-02-15 02:15:36 +0800
commit4b9ac3879d25d14cbaaab9237626257c3561f7ff (patch)
treef9a445d2652644ea9ed64da2cd76f1ad442e83b3 /calendar/gui/e-cal-list-view.c
parentcf41379058d6e78ea138603186acb8174c58e0ca (diff)
downloadgsoc2013-evolution-4b9ac3879d25d14cbaaab9237626257c3561f7ff.tar.gz
gsoc2013-evolution-4b9ac3879d25d14cbaaab9237626257c3561f7ff.tar.zst
gsoc2013-evolution-4b9ac3879d25d14cbaaab9237626257c3561f7ff.zip
Fix few memory leaks
Diffstat (limited to 'calendar/gui/e-cal-list-view.c')
-rw-r--r--calendar/gui/e-cal-list-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c
index 010de9590b..27a11787ae 100644
--- a/calendar/gui/e-cal-list-view.c
+++ b/calendar/gui/e-cal-list-view.c
@@ -183,6 +183,7 @@ setup_e_table (ECalListView *cal_list_view)
NULL);
e_table_extras_add_cell (extras, "calstring", cell);
+ g_object_unref (cell);
/* Date fields */
@@ -214,6 +215,7 @@ setup_e_table (ECalListView *cal_list_view)
G_BINDING_SYNC_CREATE);
e_table_extras_add_cell (extras, "dateedit", popup_cell);
+ g_object_unref (popup_cell);
cal_list_view->dates_cell = E_CELL_DATE_EDIT (popup_cell);
gtk_widget_hide (E_CELL_DATE_EDIT (popup_cell)->none_button);
@@ -243,6 +245,7 @@ setup_e_table (ECalListView *cal_list_view)
g_list_free (strings);
e_table_extras_add_cell (extras, "classification", popup_cell);
+ g_object_unref (popup_cell);
/* Sorting */