Commit 137812c8 authored by FaramosCZ's avatar FaramosCZ Committed by Sergey Vojtovich

Fix USE_AFTER_FREE (CWE-416)

swap two lines
parent 9d2d80aa
...@@ -19390,8 +19390,8 @@ static void test_big_packet() ...@@ -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);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment