Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
aefef898
"Makefile.esp8266" did not exist on "b2850c3f64591bd8a23798cabb927d12cd68d967"
Commit
aefef898
authored
Nov 10, 2020
by
Aleksandr Yeganov
Browse files
Free SSL object when redisSSLConnect fails
parent
e3f88ebc
Changes
1
Show whitespace changes
Inline
Side-by-side
ssl.c
View file @
aefef898
...
@@ -351,6 +351,7 @@ static int redisSSLConnect(redisContext *c, SSL *ssl) {
...
@@ -351,6 +351,7 @@ static int redisSSLConnect(redisContext *c, SSL *ssl) {
}
}
hi_free
(
rssl
);
hi_free
(
rssl
);
SSL_free
(
ssl
);
return
REDIS_ERR
;
return
REDIS_ERR
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment