[gnome-online-accounts] 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] kerberos: Correctly set the error if object creation failed
- Date: Wed, 9 Apr 2014 13:49:33 +0000 (UTC)
commit 019f5d98b2e6642dd0cf9d11d638895c8b76ef55
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 59cc11d..f9dff19 100644
--- a/src/goaidentity/goakerberosidentitymanager.c
+++ b/src/goaidentity/goakerberosidentitymanager.c
@@ -1667,7 +1667,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]