Merge pull request #3152 from sysown/v2.1.0-3150

Closes #3150: Fixed memory leak due packet not being freed in 'switching_auth' during 'SERVER_HANDSHAKE'
pull/3168/head
René Cannaò 6 years ago committed by GitHub
commit f85be00e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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