Commit bdc72e78 authored by Committed by Olivier CrêteBrowse files
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 with 2 additions and 1 deletion