1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-08-25 13:50:12 +03:00

main: don't free fds array twice

This commit is contained in:
Lennart Poettering
2013-10-01 00:06:48 +02:00
parent 69ae3ee07e
commit 6c081276dc

View 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);