[Telepathy-commits] [telepathy-salut/master] tubes-manager: fix SalutSelf leaks
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Feb 26 11:20:20 PST 2009
---
src/salut-tubes-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/salut-tubes-manager.c b/src/salut-tubes-manager.c
index e681051..0e4bd48 100644
--- a/src/salut-tubes-manager.c
+++ b/src/salut-tubes-manager.c
@@ -1168,6 +1168,7 @@ salut_private_tubes_factory_get_contact_caps (
SalutSelf *salut_self;
g_object_get (conn, "self", &salut_self, NULL);
per_channel_manager_caps = salut_self->per_channel_manager_caps;
+ g_object_unref (salut_self);
}
else
{
@@ -1460,6 +1461,7 @@ salut_private_tubes_factory_add_cap (SalutCapsChannelManager *manager,
SalutSelf *salut_self;
g_object_get (conn, "self", &salut_self, NULL);
per_channel_manager_caps = &salut_self->per_channel_manager_caps;
+ g_object_unref (salut_self);
}
else
{
--
1.5.6.5
More information about the telepathy-commits
mailing list