mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
fixed missing SSL_free when a new connection replaces the existing one
This commit is contained in:
parent
aabfcb975c
commit
cefa5d9f9e
1 changed files with 1 additions and 0 deletions
|
@ -1433,6 +1433,7 @@ int pqissl::accept_locked(SSL *ssl, int fd, const struct sockaddr_storage &forei
|
|||
rslog(RSL_ALERT, pqisslzone,
|
||||
"pqissl::accept() closing Previous/Existing ssl_connection");
|
||||
SSL_shutdown(ssl_connection);
|
||||
SSL_free (ssl_connection);
|
||||
}
|
||||
|
||||
if ((sockfd > -1) && (sockfd != fd))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue