[gnome-online-accounts/gnome-3-12] kerberos: Correctly set the error if object creation failed
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-12] kerberos: Correctly set the error if object creation failed
- Date: Wed, 9 Apr 2014 13:50:00 +0000 (UTC)
commit 11f0ead01f0e8b2ced6c9a61fbbf47280233a3db
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Apr 9 15:25:33 2014 +0200
kerberos: Correctly set the error if object creation failed
The error is actually a GError **, and not a GError *. There is no need
to set it to NULL.
Fixes: https://bugzilla.gnome.org/727896
src/goaidentity/goakerberosidentitymanager.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/goaidentity/goakerberosidentitymanager.c b/src/goaidentity/goakerberosidentitymanager.c
index d6d9421..e3ea3e7 100644
--- a/src/goaidentity/goakerberosidentitymanager.c
+++ b/src/goaidentity/goakerberosidentitymanager.c
@@ -1669,7 +1669,6 @@ goa_kerberos_identity_manager_new (GCancellable * cancellable, GError ** error)
(gpointer *) &
goa_kerberos_identity_manager_singleton);
- error = NULL;
if (!g_initable_init (G_INITABLE (object), cancellable, error))
{
g_object_unref (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]