[farsight2/master] Getting a conf from a session will get a reference to it

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


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 91bb20b..4a11513 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -495,7 +495,7 @@ fs_rtp_session_get_property (GObject *object,
       FS_RTP_SESSION_UNLOCK (self);
       break;
     case PROP_CONFERENCE:
-      g_value_take_object (value, self->priv->conference);
+      g_value_set_object (value, self->priv->conference);
       break;
     case PROP_CURRENT_SEND_CODEC:
       FS_RTP_SESSION_LOCK (self);
-- 
1.5.6.5




More information about the farsight-commits mailing list