[farsight2/master] Remove locking in dispose function

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 16 13:38:53 PST 2008


---
 gst/fsrtpconference/fs-rtp-conference.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-conference.c b/gst/fsrtpconference/fs-rtp-conference.c
index 9f3f52c..977e70c 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -189,7 +189,6 @@ fs_rtp_conference_dispose (GObject * object)
     self->gstrtpbin = NULL;
   }
 
-  GST_OBJECT_LOCK (object);
   for (item = g_list_first (self->priv->sessions);
        item;
        item = g_list_next (item))
@@ -203,7 +202,6 @@ fs_rtp_conference_dispose (GObject * object)
     g_object_weak_unref (G_OBJECT (item->data), _remove_participant, self);
   g_list_free (self->priv->participants);
   self->priv->participants = NULL;
-  GST_OBJECT_UNLOCK (object);
 
   self->priv->disposed = TRUE;
 
-- 
1.5.6.5




More information about the farsight-commits mailing list