Commit 2b8ee7da authored by ivoire's avatar ivoire
Browse files

FIx socket leak (cid #1049574)

parent 8de5a5b7
......@@ -560,11 +560,8 @@ int net_ConnectDgram( vlc_object_t *p_this, const char *psz_host, int i_port,
b_unreach = true;
msg_Warn( p_this, "%s port %d : %m", psz_host, i_port);
net_Close( fd );
net_Close( fd );
freeaddrinfo( res );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment