[telepathy-mission-control/master] McdDispatcher: don't leak the connections hash table

Simon McVittie simon.mcvittie at collabora.co.uk
Tue May 26 11:09:19 PDT 2009


This is only one leak per process, though.
---
 src/mcd-dispatcher.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 1adea6e..9755fe4 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1696,6 +1696,7 @@ _mcd_dispatcher_dispose (GObject * object)
     }
 
     g_hash_table_destroy (priv->clients);
+    g_hash_table_destroy (priv->connections);
 
     if (priv->master)
     {
-- 
1.5.6.5




More information about the telepathy-commits mailing list