[systemd-commits] src/shared
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Jan 17 08:38:18 PST 2013
src/shared/util.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 86ed7ec58b9b6a0907bbb3b8d07c930e52915de0
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jan 17 17:38:00 2013 +0100
util: fix bad memory access
diff --git a/src/shared/util.c b/src/shared/util.c
index 0161f3e..8e14096 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -439,7 +439,6 @@ int get_parent_of_pid(pid_t pid, pid_t *_ppid) {
if (!fgets(line, sizeof(line), f)) {
r = feof(f) ? -EIO : -errno;
- fclose(f);
return r;
}
More information about the systemd-commits
mailing list