aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 4afafd475b..255851318f 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1288,10 +1288,9 @@ gnome_cal_get_client_view_cb (GObject *source_object,
g_warning ("%s: %s", G_STRFUNC, local_error->message);
g_error_free (local_error);
}
-
- g_object_unref (gcal);
}
+ g_clear_object (&gcal);
g_clear_object (&client_view);
view_data_unref (view_data);