[farsight2/master] msn: unref conf on dispose
Olivier Crête
olivier.crete at collabora.co.uk
Tue Jul 14 09:50:52 PDT 2009
---
gst/fsmsnconference/fs-msn-session.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gst/fsmsnconference/fs-msn-session.c b/gst/fsmsnconference/fs-msn-session.c
index 877b8be..f5cfd1b 100644
--- a/gst/fsmsnconference/fs-msn-session.c
+++ b/gst/fsmsnconference/fs-msn-session.c
@@ -233,6 +233,9 @@ fs_msn_session_dispose (GObject *object)
gst_element_remove (self->priv->conferencebin, self->priv->media_sink_pad);
self->priv->media_sink_pad = NULL;
+ gst_object_unref (conferencebin);
+ self->priv->conference = NULL;
+
/* MAKE sure dispose does not run twice. */
self->priv->disposed = TRUE;
--
1.5.6.5
More information about the farsight-commits
mailing list