[farsight2/master] Don't crash on error

Olivier Crête olivier.crete at collabora.co.uk
Tue Jul 14 09:50:45 PDT 2009


---
 gst/fsmsnconference/fs-msn-stream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/fsmsnconference/fs-msn-stream.c b/gst/fsmsnconference/fs-msn-stream.c
index 8f3247a..f5f905f 100644
--- a/gst/fsmsnconference/fs-msn-stream.c
+++ b/gst/fsmsnconference/fs-msn-stream.c
@@ -557,6 +557,7 @@ fs_msn_stream_new (FsMsnSession *session,
   {
     *error = g_error_new (FS_ERROR, FS_ERROR_CONSTRUCTION,
         "Could not create object");
+    return NULL;
   }
   else if (self->priv->construction_error)
   {
-- 
1.5.6.5




More information about the farsight-commits mailing list