[gnome-online-accounts/gnome-3-6] Make sure the GError** passed is always pointer to NULL
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-6] Make sure the GError** passed is always pointer to NULL
- Date: Fri, 5 Oct 2012 14:04:13 +0000 (UTC)
commit f021cda0d3a02650214e0bf0e23f10c22b06ecd1
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Oct 4 15:28:48 2012 +0200
Make sure the GError** passed is always pointer to NULL
src/goabackend/goaoauthprovider.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaoauthprovider.c b/src/goabackend/goaoauthprovider.c
index 1e7ed03..d97be8e 100644
--- a/src/goabackend/goaoauthprovider.c
+++ b/src/goabackend/goaoauthprovider.c
@@ -1643,6 +1643,7 @@ goa_oauth_provider_ensure_credentials_sync (GoaProvider *_provider,
force_refresh = TRUE;
g_free (access_token); access_token = NULL;
g_free (access_token_secret); access_token_secret = NULL;
+ g_clear_error (error);
goto again;
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]