[Telepathy-commits] [telepathy-gabble/master] gadget-manager: don't leak the channels hash table

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Oct 8 09:59:57 PDT 2008


---
 src/olpc-gadget-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/olpc-gadget-manager.c b/src/olpc-gadget-manager.c
index 248400d..a8bc511 100644
--- a/src/olpc-gadget-manager.c
+++ b/src/olpc-gadget-manager.c
@@ -103,6 +103,7 @@ gabble_olpc_gadget_manager_close_all (GabbleOlpcGadgetManager *self)
           g_object_unref (channel);
         }
 
+      g_hash_table_destroy (self->priv->channels);
       self->priv->channels = NULL;
     }
 }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list