diff options
author | Thomas Jarosch <thomas.jarosch@intra2net.com> | 2011-10-05 22:30:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-10-10 22:28:04 +0200 |
commit | 10d975f54c88223fb8762a226fd011ec3f30f2eb (patch) | |
tree | 4f80fea512a1dad8419391ec30234dfc4572699a | |
parent | 65c0cf7108ae3537a357c74b4586a783baba82f9 (diff) |
tmpfiles: fix file descriptor leak
Detected by "cppcheck"
-rw-r--r-- | src/tmpfiles.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tmpfiles.c b/src/tmpfiles.c index a6b8f859aa..21bf44d3a4 100644 --- a/src/tmpfiles.c +++ b/src/tmpfiles.c @@ -157,6 +157,7 @@ static void load_unix_sockets(void) { } } + fclose(f); return; fail: |