socket: Ensure variables are nullified correctly in UDP sockets
When closing a socket, ensure its private data structure is set to NULL. When sending a message fails to construct a new socket address, ensure the pointer to the old address (which has just been unreffed) is removed. This makes debugging problems with sockets being freed early much easier.
Showing
Please register or sign in to comment