From 6fbef3adb95ac8bd28ea1f7a81b40a06f993e061 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 12 Sep 2012 13:07:33 +0200 Subject: connection-aggregator: fix contacts array leak https://bugzilla.gnome.org/show_bug.cgi?id=683864 --- libempathy/empathy-connection-aggregator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy') diff --git a/libempathy/empathy-connection-aggregator.c b/libempathy/empathy-connection-aggregator.c index 8d05b6c28..f42e18fd1 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); -- cgit v1.2.3