]> git.ipfire.org Git - thirdparty/hostap.git/commit
OpenSSL: Fix memory leak on error path
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 15 Feb 2016 19:53:33 +0000 (21:53 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 15 Feb 2016 19:53:33 +0000 (21:53 +0200)
commit1f1e599b3bfb667f05a859afb723984cd7d4a04a
tree19b808e49d22e116b996a8dbdc3a2f02ae5ac9f3
parentb907491281b06b4dee9e0d0326e23c67ce486eb5
OpenSSL: Fix memory leak on error path

If SSL_CTX_new(SSLv23_method()) fails, tls_init() error path did not
free the allocated struct tls_data instance.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/tls_openssl.c