[farsight2/master] Dont leak session ref on new association

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:20 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 23b33ff..04d6017 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -287,6 +287,7 @@ _rtpbin_on_new_ssrc_cname_association (GstElement *rtpbin,
   FsRtpSession *session =
     fs_rtp_conference_get_session_by_id (self, session_id);
   fs_rtp_session_associate_ssrc_cname (session, ssrc, cname);
+  g_object_unref (session);
 }
 
 
-- 
1.5.6.5




More information about the farsight-commits mailing list