Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
ea9f9d25
Commit
ea9f9d25
authored
Feb 12, 2019
by
Mark Nunberg
Browse files
fixed wrong memset args
parent
f0a75950
Changes
1
Show whitespace changes
Inline
Side-by-side
hiredis.c
View file @
ea9f9d25
...
...
@@ -618,7 +618,7 @@ void redisFree(redisContext *c) {
if
(
c
->
ssl
)
{
redisFreeSsl
(
c
->
ssl
);
}
memset
(
0xff
,
c
,
sizeof
(
*
c
));
memset
(
c
,
0xff
,
sizeof
(
*
c
));
free
(
c
);
}
...
...
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