Commit aefef898 authored by Aleksandr Yeganov's avatar Aleksandr Yeganov
Browse files

Free SSL object when redisSSLConnect fails

parent e3f88ebc
......@@ -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