Fix USE_AFTER_FREE (CWE-416)
swap two lines
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user