[telepathy-glib/master] Make CallableMediaManager unref closed channels
Will Thompson
will.thompson at collabora.co.uk
Fri Apr 3 05:36:51 PDT 2009
Fixes a bug where the channel lived too long, and a new channel happened
to get the same object path as an orphan channel, leading to
dbus_g_connection_register_g_object asserting!
---
examples/cm/callable/media-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/examples/cm/callable/media-manager.c b/examples/cm/callable/media-manager.c
index c5548eb..84f796a 100644
--- a/examples/cm/callable/media-manager.c
+++ b/examples/cm/callable/media-manager.c
@@ -293,6 +293,7 @@ channel_closed_cb (ExampleCallableMediaChannel *chan,
if (self->priv->channels != NULL)
{
self->priv->channels = g_list_remove_all (self->priv->channels, chan);
+ g_object_unref (chan);
}
}
--
1.5.6.5
More information about the telepathy-commits
mailing list