diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-01-17 17:38:00 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-01-17 17:38:13 +0100 |
commit | 86ed7ec58b9b6a0907bbb3b8d07c930e52915de0 (patch) | |
tree | fe186e902631d59b88db944b48b10feb873f43d8 /src | |
parent | 2fd9b50ce2a3dd31bf0831ca80b01ac85ef50999 (diff) |
util: fix bad memory access
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index 0161f3e957..8e1409671f 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; } |