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:
69ae3ee
)
main: don't free fds array twice
author
Lennart Poettering
<lennart@poettering.net>
Mon, 30 Sep 2013 22:06:48 +0000
(
00:06
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 30 Sep 2013 22:17:21 +0000
(
00:17
+0200)
src/core/main.c
patch
|
blob
|
history
diff --git
a/src/core/main.c
b/src/core/main.c
index 0629d142ff556b519214c8e7d683210cdb5343a6..fe291f8410e0822c6580b1251e61884a8731a19b 100644
(file)
--- a/
src/core/main.c
+++ b/
src/core/main.c
@@
-1567,6
+1567,7
@@
int main(int argc, char *argv[]) {
/* This will close all file descriptors that were opened, but
* not claimed by any unit. */
fdset_free(fds);
+ fds = NULL;
if (serialization) {
fclose(serialization);