Skip to content

Commit

Permalink
fix: remove unnecessary SSL_free
Browse files Browse the repository at this point in the history
  • Loading branch information
rept1d committed Dec 20, 2023
1 parent e5991da commit b6a1426
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/dpp/sslclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,6 @@ void ssl_client::cleanup()
{
this->close();
if (!keepalive) {
if (ssl != nullptr) {
SSL_free(ssl->ssl);
}
delete ssl;
}
}
Expand Down

0 comments on commit b6a1426

Please sign in to comment.