1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Fixed leak in ma_tls_read/write

This commit is contained in:
Georg Richter
2018-07-31 09:39:03 +02:00
parent f69eaf04dd
commit f1fd014a15
3 changed files with 7 additions and 7 deletions

View File

@@ -1084,6 +1084,7 @@ static int test_auth256(MYSQL *my)
if (!mysql_client_find_plugin(mysql, "sha256_password", 3))
{
diag("sha256_password plugin not available");
mysql_close(mysql);
return SKIP;
}
@@ -1097,6 +1098,7 @@ static int test_auth256(MYSQL *my)
if (!num_rows)
{
diag("server doesn't support sha256 authentication");
mysql_close(mysql);
return SKIP;
}