commit | efe5e8e99890b24dcfb8c925d98bf82e2fdf0b9f | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Fri Jan 24 15:17:38 2020 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Fri Jan 24 15:17:38 2020 +0100 |
tree | ce4013fa01c04dec73c708d353c3846c4e2f1edc | |
parent | 6d53cd6978d80aea86a5ca05aa023a1c6640d606 [diff] |
BUG/MEDIUM: ssl: Don't forget to free ctx->ssl on failure. In ssl_sock_init(), if we fail to allocate the BIO, don't forget to free the SSL *, or we'd end up with a memory leak. This should be backported to 2.1 and 2.0.