From b6a1426d5730c29f5e8ae0026aaebd5b765739e7 Mon Sep 17 00:00:00 2001 From: rept1d Date: Wed, 20 Dec 2023 11:41:39 +0300 Subject: [PATCH] fix: remove unnecessary SSL_free --- src/dpp/sslclient.cpp | 3 --- 1 file changed, 3 deletions(-) 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; } }