summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/greeter.c2
-rw-r--r--src/session.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/greeter.c b/src/greeter.c
index b0b672b2..b9f4f55a 100644
--- a/src/greeter.c
+++ b/src/greeter.c
@@ -1036,6 +1036,8 @@ greeter_init (Greeter *greeter)
greeter->priv->read_buffer = secure_malloc (greeter, HEADER_SIZE);
greeter->priv->hints = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
greeter->priv->use_secure_memory = config_get_boolean (config_get_instance (), "LightDM", "lock-memory");
+ greeter->priv->to_greeter_input = -1;
+ greeter->priv->from_greeter_output = -1;
}
static void
diff --git a/src/session.c b/src/session.c
index 26d0ce97..e25a69a5 100644
--- a/src/session.c
+++ b/src/session.c
@@ -910,6 +910,8 @@ session_init (Session *session)
{
session->priv = G_TYPE_INSTANCE_GET_PRIVATE (session, SESSION_TYPE, SessionPrivate);
session->priv->log_filename = g_strdup (".xsession-errors");
+ session->priv->to_child_input = -1;
+ session->priv->from_child_output = -1;
}
static void