diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2020-11-15 09:56:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-15 09:56:10 -0800 |
commit | e4a200040a1f8f5b674e4b753cbc604d500fe05c (patch) | |
tree | 823007be86298cbe6e43710a6f71c954effb6142 | |
parent | e3f88ebcf830323db32a33b908d67a617caf83e4 (diff) | |
parent | aefef8987f3bbc13d17b8e672f81b973d57ea667 (diff) |
Merge pull request #896 from ayeganov/bugfix/ssl_leak
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; } |