mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix USE_AFTER_FREE (CWE-416)
swap two lines
This commit is contained in:
committed by
Sergey Vojtovich
parent
9d2d80aace
commit
137812c88a
@@ -19390,8 +19390,8 @@ static void test_big_packet()
|
||||
opt_password, current_db, opt_port,
|
||||
opt_unix_socket, 0)))
|
||||
{
|
||||
mysql_close(mysql_local);
|
||||
fprintf(stderr, "\n connection failed(%s)", mysql_error(mysql_local));
|
||||
mysql_close(mysql_local);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user