[gdm] daemon: one more NULL initialization fix in CK code
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] daemon: one more NULL initialization fix in CK code
- Date: Wed, 1 Aug 2012 21:41:24 +0000 (UTC)
commit 3397eb654515a2e6a636d20a316fff6b1334bf4f
Author: Ray Strode <rstrode redhat com>
Date: Wed Aug 1 17:40:31 2012 -0400
daemon: one more NULL initialization fix in CK code
gdm_slave_get_primary_session_id_for_user_from_ck uses a GError
unintialized.
This commit fixes that.
daemon/gdm-slave.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-slave.c b/daemon/gdm-slave.c
index 0869097..94c369c 100644
--- a/daemon/gdm-slave.c
+++ b/daemon/gdm-slave.c
@@ -1416,6 +1416,7 @@ gdm_slave_get_primary_session_id_for_user_from_ck (GdmSlave *slave,
GVariantIter iter;
char *ssid;
+ error = NULL;
primary_ssid = NULL;
g_debug ("GdmSlave: getting proxy for seat: %s", slave->priv->display_seat_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]