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

Fix of memory leack in the test and end spaces.

This commit is contained in:
Oleksandr Byelkin
2019-07-18 13:42:29 +02:00
parent 07f6f951e4
commit 0c20765baf

View File

@@ -5099,9 +5099,10 @@ static int test_conc424(MYSQL *mysql)
mysql_free_result(res);
}
rc= mysql_stmt_next_result(stmt);
} while (!rc);
mysql_stmt_close(stmt);
rc= mysql_query(mysql, "DROP PROCEDURE testCursor");
check_mysql_rc(rc, mysql);
@@ -5109,7 +5110,7 @@ static int test_conc424(MYSQL *mysql)
check_mysql_rc(rc, mysql);
return OK;
}
}
struct my_tests_st my_tests[] = {
{"test_conc424", test_conc424, TEST_CONNECTION_NEW, 0, NULL, NULL},