diff options
author | Mark Nunberg <mnunberg@haskalah.org> | 2019-02-12 09:30:43 -0500 |
---|---|---|
committer | Mark Nunberg <mnunberg@haskalah.org> | 2019-02-20 09:11:10 -0500 |
commit | ea9f9d2515081d191507ea055cd0e614a078d914 (patch) | |
tree | 1597e2622774ef57200587f15c7acd2375bca920 | |
parent | f0a7595056d00383701fcb2a6247ea1ec91c2ae9 (diff) |
fixed wrong memset args
-rw-r--r-- | hiredis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |