summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
Diffstat (limited to 'sesman')
-rw-r--r--sesman/sesman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c
index 4a294a5e..72561cae 100644
--- a/sesman/sesman.c
+++ b/sesman/sesman.c
@@ -202,6 +202,7 @@ main(int argc, char **argv)
return 1;
}
+ g_memset(pid_s, 0, sizeof(pid_s));
error = g_file_read(fd, pid_s, 7);
if (-1 == error)