[Telepathy-commits] [telepathy-salut/master] caps_req_stanza_callback: don't leak SalutSelf

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Feb 18 10:27:49 PST 2009


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

diff --git a/src/salut-disco.c b/src/salut-disco.c
index 9c23779..1ffae9e 100644
--- a/src/salut-disco.c
+++ b/src/salut-disco.c
@@ -521,6 +521,7 @@ caps_req_stanza_callback (SalutXmppConnectionManager *mgr,
     }
 
   features = capabilities_get_features (salut_self->per_channel_manager_caps);
+  g_object_unref (salut_self);
 
   /* Every entity MUST have at least one identity (XEP-0030). Salut publishs
    * one identity. If you change the identity here, you also need to change
-- 
1.5.6.5




More information about the telepathy-commits mailing list