From 10d975f54c88223fb8762a226fd011ec3f30f2eb Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Wed, 5 Oct 2011 22:30:49 +0200 Subject: [PATCH] tmpfiles: fix file descriptor leak Detected by "cppcheck" --- src/tmpfiles.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tmpfiles.c b/src/tmpfiles.c index a6b8f859..21bf44d3 100644 --- a/src/tmpfiles.c +++ b/src/tmpfiles.c @@ -157,6 +157,7 @@ static void load_unix_sockets(void) { } } + fclose(f); return; fail: -- 2.39.5