[Telepathy-commits] [telepathy-gabble/master] GabbleMucFactory: don't leak the room handle when processing an invitation

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:00 PDT 2008


20080526153138-53eee-7321be9a37a50c42be2037ee15b354068aeacd2f.gz
---
 src/muc-factory.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/muc-factory.c b/src/muc-factory.c
index 19ccef9..d1092f0 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -434,6 +434,8 @@ do_invite (GabbleMucFactory *fac,
     {
       DEBUG ("ignoring invite to room \"%s\"; we're already there", room);
     }
+
+  tp_handle_unref (room_repo, room_handle);
 }
 
 struct DiscoInviteData {
-- 
1.5.6.3




More information about the Telepathy-commits mailing list