richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
9fc0f6
From fe828286b888871e18bc68173cd281619bd7b4b2 Mon Sep 17 00:00:00 2001
9fc0f6
From: Michal Sekletar <msekleta@redhat.com>
9fc0f6
Date: Tue, 11 Mar 2014 13:26:38 +0100
9fc0f6
Subject: [PATCH] logind: initialize timer_fd
9fc0f6
9fc0f6
---
9fc0f6
 src/login/logind-session.c | 1 +
9fc0f6
 1 file changed, 1 insertion(+)
9fc0f6
9fc0f6
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
9fc0f6
index 2a2a670..d7c3187 100644
9fc0f6
--- a/src/login/logind-session.c
9fc0f6
+++ b/src/login/logind-session.c
9fc0f6
@@ -89,6 +89,7 @@ Session* session_new(Manager *m, const char *id) {
9fc0f6
 
9fc0f6
         s->manager = m;
9fc0f6
         s->fifo_fd = -1;
9fc0f6
+        s->timer_fd = -1;
9fc0f6
 
9fc0f6
         return s;
9fc0f6
 }