chiark / gitweb /
main: don't free fds array twice
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Sep 2013 22:06:48 +0000 (00:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Sep 2013 22:17:21 +0000 (00:17 +0200)
src/core/main.c

index 0629d142ff556b519214c8e7d683210cdb5343a6..fe291f8410e0822c6580b1251e61884a8731a19b 100644 (file)
@@ -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);