Skip to content

Commit 37a179b

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix incorrect free for last_message
2 parents b3c7ab6 + ee21657 commit 37a179b

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
@@ -509,7 +509,7 @@ mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn,
509509
conn->password.s = tmp;
510510

511511
if (conn->last_message.s) {
512-
mnd_pefree(conn->last_message.s, conn->persistent);
512+
mnd_efree(conn->last_message.s);
513513
conn->last_message.s = NULL;
514514
}
515515
UPSERT_STATUS_RESET(conn->upsert_status);

0 commit comments

Comments
 (0)