[farsight2/master] rtpsession: Remove useless ref

Olivier Crête olivier.crete at collabora.co.uk
Tue Sep 8 16:28:20 PDT 2009


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 3a07890..0517212 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -3736,13 +3736,8 @@ _substream_blocked (FsRtpSubStream *substream, FsRtpStream *stream,
   guint32 ssrc;
   guint pt;
 
-  g_object_ref (session);
-
   if (fs_rtp_session_has_disposed_enter (session, NULL))
-  {
-    g_object_unref (session);
     return;
-  }
 
   FS_RTP_SESSION_LOCK (session);
 
@@ -3769,7 +3764,6 @@ _substream_blocked (FsRtpSubStream *substream, FsRtpStream *stream,
 
   g_clear_error (&error);
   fs_rtp_session_has_disposed_exit (session);
-  g_object_unref (session);
 }
 
 static void
-- 
1.5.6.5




More information about the farsight-commits mailing list