summaryrefslogtreecommitdiff
path: root/ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl.c')
-rw-r--r--ssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl.c b/ssl.c
index f8124e1..c856bbc 100644
--- a/ssl.c
+++ b/ssl.c
@@ -351,6 +351,7 @@ static int redisSSLConnect(redisContext *c, SSL *ssl) {
}
hi_free(rssl);
+ SSL_free(ssl);
return REDIS_ERR;
}