aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-01 20:32:37 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-01 20:32:37 +0800
commit815c8776bbeee8e937db73c2006846ab9606ffb0 (patch)
tree17cd5cdb3e563ec89fbbd58da0bebe2cfca1c6c3 /calendar/gui
parentc12dc5766786efa9c2e82fb0b59fa1edf18d5f38 (diff)
downloadgsoc2013-evolution-815c8776bbeee8e937db73c2006846ab9606ffb0.tar
gsoc2013-evolution-815c8776bbeee8e937db73c2006846ab9606ffb0.tar.gz
gsoc2013-evolution-815c8776bbeee8e937db73c2006846ab9606ffb0.tar.bz2
gsoc2013-evolution-815c8776bbeee8e937db73c2006846ab9606ffb0.tar.lz
gsoc2013-evolution-815c8776bbeee8e937db73c2006846ab9606ffb0.tar.xz
gsoc2013-evolution-815c8776bbeee8e937db73c2006846ab9606ffb0.tar.zst
gsoc2013-evolution-815c8776bbeee8e937db73c2006846ab9606ffb0.zip
GnomeCalendar: Fix a potential reference leak.
Diffstat (limited to 'calendar/gui')
-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);