Unverified Commit e4a20004 authored by Michael Grunder's avatar Michael Grunder Committed by GitHub
Browse files

Merge pull request #896 from ayeganov/bugfix/ssl_leak

Free SSL object when redisSSLConnect fails
parents e3f88ebc aefef898
......@@ -351,6 +351,7 @@ static int redisSSLConnect(redisContext *c, SSL *ssl) {
}
hi_free(rssl);
SSL_free(ssl);
return REDIS_ERR;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment