If there is an error when listing streams, return for the func to avoid crashing...
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 15 Feb 2008 15:44:10 +0000 (15:44 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 15 Feb 2008 15:44:10 +0000 (15:44 +0000)
svn path=/trunk/; revision=633

libempathy/empathy-tp-call.c

index 1e2473e148afbe8082745cfa4b90e6322fefd6a0..c9da17491930bbb2b3c4ce6545aeecbf0daa3719 100644 (file)
@@ -129,6 +129,7 @@ tp_call_identify_streams (EmpathyTpCall *call)
       empathy_debug (DEBUG_DOMAIN, "Couldn't list audio/video streams: %s",
           error->message);
       g_clear_error (&error);
+      return;
     }
 
   for (i = 0; i < stream_infos->len; i++)