main: don't free fds array twice

This commit is contained in:
Lennart Poettering
2013-10-06 10:48:20 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 3fecc95e6a
commit 5c6fa27f02
+1
View File
@@ -1650,6 +1650,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);