Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
7d996522
Commit
7d996522
authored
Jul 15, 2017
by
not-a-robot[bot]
Browse files
Merge #523
523: Fix leak if setsockopt fails r=badboy
parents
4d8f3fb2
e21c9c67
Changes
1
Hide whitespace changes
Inline
Side-by-side
net.c
View file @
7d996522
...
...
@@ -357,6 +357,7 @@ addrretry:
n
=
1
;
if
(
setsockopt
(
s
,
SOL_SOCKET
,
SO_REUSEADDR
,
(
char
*
)
&
n
,
sizeof
(
n
))
<
0
)
{
freeaddrinfo
(
bservinfo
);
goto
error
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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