[Telepathy-commits] [telepathy-gabble/master] gabble_tubes_channel_presence_updated: don't leak parameters hash table

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Dec 17 08:27:37 PST 2008


---
 src/tubes-channel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/tubes-channel.c b/src/tubes-channel.c
index 5842361..1125e8d 100644
--- a/src/tubes-channel.c
+++ b/src/tubes-channel.c
@@ -831,6 +831,7 @@ gabble_tubes_channel_presence_updated (GabbleTubesChannel *self,
 
               /* the tube has reffed its initiator, no need to keep a ref */
               tp_handle_unref (contact_repo, initiator_handle);
+              g_hash_table_destroy (parameters);
             }
         }
       else
-- 
1.5.6.5




More information about the Telepathy-commits mailing list