aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:16:55 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-10 00:16:55 +0800
commitcf09967694336a3bd6120c5f3b1004272ed34183 (patch)
tree0f2a2cf3070b0e83f68e2830f0d125f8b1b076e5
parentcae7d744c4b18dce09a6139f76c9b37cce1e7cda (diff)
downloadgsoc2013-empathy-cf09967694336a3bd6120c5f3b1004272ed34183.tar
gsoc2013-empathy-cf09967694336a3bd6120c5f3b1004272ed34183.tar.gz
gsoc2013-empathy-cf09967694336a3bd6120c5f3b1004272ed34183.tar.bz2
gsoc2013-empathy-cf09967694336a3bd6120c5f3b1004272ed34183.tar.lz
gsoc2013-empathy-cf09967694336a3bd6120c5f3b1004272ed34183.tar.xz
gsoc2013-empathy-cf09967694336a3bd6120c5f3b1004272ed34183.tar.zst
gsoc2013-empathy-cf09967694336a3bd6120c5f3b1004272ed34183.zip
mission_control_get_tpconnection returns a new ref, don't forget to unref the connection.
svn path=/trunk/; revision=2216
-rw-r--r--libempathy/empathy-dispatcher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index c1b023713..6f5639b1e 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -795,6 +795,8 @@ dispatcher_update_account (EmpathyDispatcher *dispatcher, McAccount *account)
tp_connection_call_when_ready (connection, dispatcher_connection_ready_cb,
dispatcher);
+
+ g_object_unref (connection);
}
static void