diff options
author | Aleksandr Yeganov <ayeganov@cisco.com> | 2020-11-10 11:43:56 -0500 |
---|---|---|
committer | Aleksandr Yeganov <ayeganov@cisco.com> | 2020-11-10 11:59:41 -0500 |
commit | aefef8987f3bbc13d17b8e672f81b973d57ea667 (patch) | |
tree | 823007be86298cbe6e43710a6f71c954effb6142 | |
parent | e3f88ebcf830323db32a33b908d67a617caf83e4 (diff) |
Free SSL object when redisSSLConnect fails
-rw-r--r-- | ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -351,6 +351,7 @@ static int redisSSLConnect(redisContext *c, SSL *ssl) { } hi_free(rssl); + SSL_free(ssl); return REDIS_ERR; } |