You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Free memory used in the unit test
This commit is contained in:
@@ -347,6 +347,8 @@ static int bulk_null(MYSQL *mysql)
|
|||||||
check_stmt_rc(rc, stmt);
|
check_stmt_rc(rc, stmt);
|
||||||
|
|
||||||
mysql_stmt_close(stmt);
|
mysql_stmt_close(stmt);
|
||||||
|
free(buf[0]);
|
||||||
|
free(buf[1]);
|
||||||
free(buf);
|
free(buf);
|
||||||
rc= mysql_query(mysql, "DROP TABLE IF EXISTS bulk_null");
|
rc= mysql_query(mysql, "DROP TABLE IF EXISTS bulk_null");
|
||||||
check_mysql_rc(rc, mysql);
|
check_mysql_rc(rc, mysql);
|
||||||
|
Reference in New Issue
Block a user