]> git.0d.be Git - empathy.git/commitdiff
connection-aggregator: fix contacts array leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 12 Sep 2012 11:07:33 +0000 (13:07 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 12 Sep 2012 12:15:02 +0000 (14:15 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=683864

libempathy/empathy-connection-aggregator.c

index 8d05b6c28994bdf62e93512724e4f0cd84ca172e..f42e18fd1c8f5b5faed06117d59c204b9d89c6f9 100644 (file)
@@ -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);