summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-22 09:34:03 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-22 12:47:18 +0100
commit7e3739286e7f8e1bada547ae28eb596f220dbfa8 (patch)
treec4b4f5d862b56e5afa66ca7cbc6609a85dff6df3
parentb0f3d3b614db26db6c4d7a98d5f563d6e2dd060d (diff)
early return if GetContactInfo() failedtelepathy-glib-0.16
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 cebbe93c4..e4ee1b2c0 100644
--- a/telepathy-glib/connection-contact-info.c
+++ b/telepathy-glib/connection-contact-info.c
@@ -436,6 +436,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);