"vscode:/vscode.git/clone" did not exist on "47177c9edc9d6f738f1aacb33bd4e1d6c2c5a697"
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