chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c0cf7
)
tmpfiles: fix file descriptor leak
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Wed, 5 Oct 2011 20:30:49 +0000
(22:30 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 10 Oct 2011 20:28:04 +0000
(22:28 +0200)
Detected by "cppcheck"
src/tmpfiles.c
patch
|
blob
|
history
diff --git
a/src/tmpfiles.c
b/src/tmpfiles.c
index a6b8f859aa948946fa025130ee2c1a0ce4381cf3..21bf44d3a41b57897072edfccf9e313452b26a4b 100644
(file)
--- a/
src/tmpfiles.c
+++ b/
src/tmpfiles.c
@@
-157,6
+157,7
@@
static void load_unix_sockets(void) {
}
}
+ fclose(f);
return;
fail: