[farsight2/master] Unref the session after using it

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


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

diff --git a/gst/fsrtpconference/fs-rtp-conference.c b/gst/fsrtpconference/fs-rtp-conference.c
index e1bd486..77af709 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -255,6 +255,7 @@ fs_rtp_conference_rtpbin_pad_added (GstElement *rtpbin, GstPad *new_pad,
 
       if (session) {
         fs_rtp_session_new_recv_pad (session, new_pad, ssrc, pt);
+        g_object_unref (session);
       }
     }
   } else if (g_str_has_prefix (name, "send_rtp_src_")) {
-- 
1.5.6.5




More information about the farsight-commits mailing list