[farsight2/master] msnsession: Check if dispose has already been called

Olivier Crête olivier.crete at collabora.co.uk
Fri Nov 6 10:49:12 PST 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 5cb8c1c..e08e17d 100644
--- a/gst/fsmsnconference/fs-msn-session.c
+++ b/gst/fsmsnconference/fs-msn-session.c
@@ -225,6 +225,9 @@ fs_msn_session_dispose (GObject *object)
   self->priv->conference = NULL;
   g_mutex_unlock (self->priv->mutex);
 
+  if (conference)
+    goto out;
+
   conferencebin = GST_BIN (conference);
 
   if (!conferencebin)
-- 
1.5.6.5



More information about the farsight-commits mailing list