Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix incorrect free for last_message
This commit is contained in:
Nikita Popov 2020-04-03 10:06:52 +02:00
commit 6e1ff5f951

View file

@ -507,7 +507,7 @@ mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn,
conn->password.s = tmp;
if (conn->last_message.s) {
mnd_pefree(conn->last_message.s, conn->persistent);
mnd_efree(conn->last_message.s);
conn->last_message.s = NULL;
}
UPSERT_STATUS_RESET(conn->upsert_status);