diff options
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c index 4389da9af..1b7a5ce2c 100644 --- a/libempathy-gtk/empathy-ui-utils.c +++ b/libempathy-gtk/empathy-ui-utils.c @@ -1317,7 +1317,7 @@ empathy_url_show (const char *url) { gchar *real_url; gboolean res; - GError *error; + GError *error = NULL; real_url = fixup_url (url); if (real_url) { @@ -1330,7 +1330,7 @@ empathy_url_show (const char *url) if (!res) { empathy_debug (DEBUG_DOMAIN, "Couldn't show URL %s: %s", url, error->message); - g_clear_error (error); + g_clear_error (&error); } g_free (real_url); |