telepathy-glib: early return if GetContactInfo() failed

Simon McVittie smcv at kemper.freedesktop.org
Tue Aug 20 13:03:42 PDT 2013


Module: telepathy-glib
Branch: master
Commit: ada77b717f5bcdf442dff3505db2dacf6c05b8d3
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=ada77b717f5bcdf442dff3505db2dacf6c05b8d3

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Feb 22 09:34:03 2012 +0100

early return if GetContactInfo() failed

https://bugs.freedesktop.org/show_bug.cgi?id=46430

---

 telepathy-glib/connection-contact-info.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/connection-contact-info.c b/telepathy-glib/connection-contact-info.c
index 238b593..b2008df 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);



More information about the telepathy-commits mailing list