diff options
-rw-r--r-- | hiredis.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -618,6 +618,7 @@ void redisFree(redisContext *c) { if (c->ssl) { redisFreeSsl(c->ssl); } + memset(0xff, c, sizeof(*c)); free(c); } |
index : hiredict.git | ||
Unnamed repository; edit this file 'description' to name the repository. |
summaryrefslogtreecommitdiff |
-rw-r--r-- | hiredis.c | 1 |
@@ -618,6 +618,7 @@ void redisFree(redisContext *c) { if (c->ssl) { redisFreeSsl(c->ssl); } + memset(0xff, c, sizeof(*c)); free(c); } |