Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
2b8ee7da
Commit
2b8ee7da
authored
Jul 19, 2013
by
ivoire
Browse files
FIx socket leak (cid #1049574)
parent
8de5a5b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network/udp.c
View file @
2b8ee7da
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment