summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-22 09:34:03 +0100
committerXavier Claessens <xavier.claessens@collabora.co.uk>2013-07-17 15:12:21 +0200
commitada77b717f5bcdf442dff3505db2dacf6c05b8d3 (patch)
treedac43b1a101853920cc4fbb3941fd73e666d9055
parent3022deb9910fc7793cdf5a95f157effdb890ed6c (diff)
downloadtelepathy-glib-ada77b717f5bcdf442dff3505db2dacf6c05b8d3.tar.gz
early return if GetContactInfo() failed
https://bugs.freedesktop.org/show_bug.cgi?id=46430
-rw-r--r--telepathy-glib/connection-contact-info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/telepathy-glib/connection-contact-info.c b/telepathy-glib/connection-contact-info.c
index 238b593ad..b2008df00 100644
--- a/telepathy-glib/connection-contact-info.c
+++ b/telepathy-glib/connection-contact-info.c
@@ -378,6 +378,7 @@ tp_connection_get_contact_info_cb (TpProxy *proxy,
{
DEBUG ("Failed to get contact info properties: %s", error->message);
g_simple_async_result_set_from_error (result, error);
+ goto finally;
}
g_assert (self->priv->contact_info_supported_fields == NULL);