main: don't free fds array twice

This commit is contained in:
Lennart Poettering
2013-10-01 00:06:48 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent a0855f4947
commit 8e3aceb513
+1
View File
@@ -1639,6 +1639,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);