1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00

(trunk libT) #5318: 'socket leak when bind() fails': fixed.

This commit is contained in:
Jordan Lee 2013-04-13 19:34:34 +00:00
parent d4d2a04560
commit 6bcdd93e45

View file

@ -268,6 +268,7 @@ tr_netOpenPeerSocket (tr_session * session,
{
tr_logAddError (_("Couldn't set source address %s on %d: %s"),
tr_address_to_string (source_addr), s, tr_strerror (errno));
tr_netClose (session, s);
return -errno;
}