From 635876291e5e3277f979c1b0b413ee0c51b469fe Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 15 Feb 2008 15:44:10 +0000 Subject: [PATCH] If there is an error when listing streams, return for the func to avoid crashing later. svn path=/trunk/; revision=633 --- libempathy/empathy-tp-call.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 1e2473e1..c9da1749 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -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++) -- 2.39.2