Hi,
I think there is a memory leak in DHCPClose in the NDK. In DHCPClose the dhcpTASK is destroyed. When the dhcpTASK (=DHCP state machine in dhcpsm.c) is just waiting for a packet (call of dhcpPacketReceive, for example when it is in StateSelecting()) the LockCount member of the FILEDESC of this socket is 1. So the socket cannot be closed in dhcpSocketClose/fdClose because this LockCount is not zero.
Do I miss something or is this a leak?
Bye!
