nicboul/DNDS — pull request #22 by jamael (2012-09-20 00:04:57+00:00)
Title: Fix memory leak on failure to complete

net_client(), net_server() & net_p2p() should all call net_connection_free() on failure to complete their duties.

This can be easily shown when there is a connection retry loop that fails to connect.