daandemeyer / rpms / systemd

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