[farsight2/master] Unref the substreams with g_object_unref.. not gst_..

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:19 PST 2008


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

diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index 37c6b78..f2eadec 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -217,7 +217,7 @@ fs_rtp_stream_dispose (GObject *object)
 
   FS_RTP_SESSION_LOCK (self->priv->session);
   if (self->priv->substreams) {
-    g_list_foreach (self->priv->substreams, (GFunc) gst_object_unref, NULL);
+    g_list_foreach (self->priv->substreams, (GFunc) g_object_unref, NULL);
     g_list_free (self->priv->substreams);
     self->priv->substreams = NULL;
   }
-- 
1.5.6.5




More information about the farsight-commits mailing list