Fixed memory leak due packet not being freed in 'switching_auth' during 'SERVER_HANDSHAKE'

pull/3152/head
Javier Jaramago Fernández 6 years ago
parent b712c8f334
commit ef53973018

@ -4526,6 +4526,7 @@ void MySQL_Session::handler___status_CONNECTING_CLIENT___STATE_SERVER_HANDSHAKE(
if (
(handshake_response_return == false) && (client_myds->switching_auth_stage == 1)
) {
l_free(pkt->size,pkt->ptr);
proxy_debug(PROXY_DEBUG_MYSQL_CONNECTION,8,"Session=%p , DS=%p . Returning\n", this, client_myds);
return;
}

Loading…
Cancel
Save