mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fix incorrect free for last_message
This commit is contained in:
commit
6e1ff5f951
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue