From: Guillaume Desmottes Date: Wed, 12 Sep 2012 11:07:33 +0000 (+0200) Subject: connection-aggregator: fix contacts array leak X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=6fbef3adb95ac8bd28ea1f7a81b40a06f993e061 connection-aggregator: fix contacts array leak https://bugzilla.gnome.org/show_bug.cgi?id=683864 --- diff --git a/libempathy/empathy-connection-aggregator.c b/libempathy/empathy-connection-aggregator.c index 8d05b6c2..f42e18fd 100644 --- a/libempathy/empathy-connection-aggregator.c +++ b/libempathy/empathy-connection-aggregator.c @@ -128,6 +128,7 @@ check_connection (EmpathyConnectionAggregator *self, contact_list_changed_cb (conn, contacts, empty, self); g_ptr_array_unref (empty); } + g_ptr_array_unref (contacts); tp_g_signal_connect_object (conn, "invalidated", G_CALLBACK (conn_invalidated_cb), self, 0);