aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-15 23:44:10 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-15 23:44:10 +0800
commit635876291e5e3277f979c1b0b413ee0c51b469fe (patch)
treed0245b42f40f988dbbe623c21e5667ce9e7370e9
parent3cac01703f75bf0ee31fb4720e204931dbca9e29 (diff)
downloadgsoc2013-empathy-635876291e5e3277f979c1b0b413ee0c51b469fe.tar
gsoc2013-empathy-635876291e5e3277f979c1b0b413ee0c51b469fe.tar.gz
gsoc2013-empathy-635876291e5e3277f979c1b0b413ee0c51b469fe.tar.bz2
gsoc2013-empathy-635876291e5e3277f979c1b0b413ee0c51b469fe.tar.lz
gsoc2013-empathy-635876291e5e3277f979c1b0b413ee0c51b469fe.tar.xz
gsoc2013-empathy-635876291e5e3277f979c1b0b413ee0c51b469fe.tar.zst
gsoc2013-empathy-635876291e5e3277f979c1b0b413ee0c51b469fe.zip
If there is an error when listing streams, return for the func to avoid crashing later.
svn path=/trunk/; revision=633
-rw-r--r--libempathy/empathy-tp-call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 1e2473e14..c9da17491 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++)