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

CONC-534 memory leak in ps_bugs.c

This commit is contained in:
Vladislav Vaintroub
2021-03-15 20:06:31 +01:00
parent b36d89685e
commit b6f8883d96

View File

@@ -5345,6 +5345,7 @@ static int test_conc525(MYSQL *mysql)
if (rc && mysql_stmt_errno(stmt) == ER_UNSUPPORTED_PS) if (rc && mysql_stmt_errno(stmt) == ER_UNSUPPORTED_PS)
{ {
diag("Server doesn't support LOAD LOCAL INFILE in binary protocol."); diag("Server doesn't support LOAD LOCAL INFILE in binary protocol.");
mysql_stmt_close(stmt);
return SKIP; return SKIP;
} }