1
0
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:
FaramosCZ
2018-11-28 15:25:53 +01:00
committed by Sergey Vojtovich
parent 9d2d80aace
commit 137812c88a

View File

@@ -19390,8 +19390,8 @@ static void test_big_packet()
opt_password, current_db, opt_port, opt_password, current_db, opt_port,
opt_unix_socket, 0))) opt_unix_socket, 0)))
{ {
mysql_close(mysql_local);
fprintf(stderr, "\n connection failed(%s)", mysql_error(mysql_local)); fprintf(stderr, "\n connection failed(%s)", mysql_error(mysql_local));
mysql_close(mysql_local);
exit(1); exit(1);
} }