mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
parent
11c294e973
commit
d996d0f486
@ -428,6 +428,7 @@ void tftp_cleanup(void)
|
|||||||
{
|
{
|
||||||
LWIP_ASSERT("Cleanup called on non-initialized TFTP", tftp_state.upcb != NULL);
|
LWIP_ASSERT("Cleanup called on non-initialized TFTP", tftp_state.upcb != NULL);
|
||||||
udp_remove(tftp_state.upcb);
|
udp_remove(tftp_state.upcb);
|
||||||
|
close_handle();
|
||||||
memset(&tftp_state, 0, sizeof(tftp_state));
|
memset(&tftp_state, 0, sizeof(tftp_state));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user