[vlc-commits] FIx socket leak (=?UTF-8?Q?cid=C2=A0=231049574?=)
Rémi Duraffort
git at videolan.org
Fri Jul 19 21:33:40 CEST 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Jul 19 21:24:50 2013 +0200| [2b8ee7da21320ce53600eebe75177092ab222015] | committer: Rémi Duraffort
FIx socket leak (cid #1049574)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b8ee7da21320ce53600eebe75177092ab222015
---
src/network/udp.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/network/udp.c b/src/network/udp.c
index c83145f..d3ccf7f 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -560,11 +560,8 @@ int net_ConnectDgram( vlc_object_t *p_this, const char *psz_host, int i_port,
#endif
b_unreach = true;
else
- {
msg_Warn( p_this, "%s port %d : %m", psz_host, i_port);
- net_Close( fd );
- continue;
- }
+ net_Close( fd );
}
freeaddrinfo( res );
More information about the vlc-commits
mailing list