ftpd: Avoid resource leak

Update #3530.
This commit is contained in:
Sebastian Huber
2018-10-05 14:56:10 +02:00
parent 479a28e08c
commit df97c4d25f

View File

@@ -2041,6 +2041,8 @@ ftpd_daemon(rtems_task_argument args RTEMS_UNUSED)
}
}
}
close(s);
rtems_task_exit();
}