anitazha / rpms / systemd

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