summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Jarosch <thomas.jarosch@intra2net.com>2011-10-05 22:30:49 +0200
committerLennart Poettering <lennart@poettering.net>2011-10-10 22:28:04 +0200
commit10d975f54c88223fb8762a226fd011ec3f30f2eb (patch)
tree4f80fea512a1dad8419391ec30234dfc4572699a /src
parent65c0cf7108ae3537a357c74b4586a783baba82f9 (diff)
tmpfiles: fix file descriptor leak
Detected by "cppcheck"
Diffstat (limited to 'src')
-rw-r--r--src/tmpfiles.c1
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: