Skip to content

Commit

Permalink
Fixed memory leak of client received packet when SSL connection is in…
Browse files Browse the repository at this point in the history
…itiated #3620
  • Loading branch information
JavierJF committed Sep 10, 2021
1 parent 36abd62 commit c268259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/MySQL_Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4840,6 +4840,7 @@ void MySQL_Session::handler___status_CONNECTING_CLIENT___STATE_SERVER_HANDSHAKE(
SSL_set_fd(client_myds->ssl, client_myds->fd);
SSL_set_accept_state(client_myds->ssl);
SSL_set_bio(client_myds->ssl, client_myds->rbio_ssl, client_myds->wbio_ssl);
l_free(pkt->size,pkt->ptr);
return;
}

Expand Down

0 comments on commit c268259

Please sign in to comment.