Skip to content

Commit 6e1ff5f

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fix incorrect free for last_message
2 parents 6560468 + 37a179b commit 6e1ff5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn,
507507
conn->password.s = tmp;
508508

509509
if (conn->last_message.s) {
510-
mnd_pefree(conn->last_message.s, conn->persistent);
510+
mnd_efree(conn->last_message.s);
511511
conn->last_message.s = NULL;
512512
}
513513
UPSERT_STATUS_RESET(conn->upsert_status);

0 commit comments

Comments
 (0)