summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-01 00:06:48 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-01 00:17:21 +0200
commit6c081276dc11722656906361ac78e415757865e3 (patch)
treecdb5b57da2c29d1c44e5b69e0753715b5a08cda7 /src/core/main.c
parent69ae3ee07ee4dc7592f6d2d5f181b478a772a644 (diff)
main: don't free fds array twice
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 0629d142ff..fe291f8410 100644
--- 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);