Commit ea9f9d25 authored by Mark Nunberg's avatar Mark Nunberg
Browse files

fixed wrong memset args

parent f0a75950
......@@ -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);
}
......
Markdown is supported
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