diff --git a/src/dpp/sslclient.cpp b/src/dpp/sslclient.cpp index 845ab4adcb..428bdebe32 100644 --- a/src/dpp/sslclient.cpp +++ b/src/dpp/sslclient.cpp @@ -650,9 +650,6 @@ void ssl_client::cleanup() { this->close(); if (!keepalive) { - if (ssl != nullptr) { - SSL_free(ssl->ssl); - } delete ssl; } }