1
0
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:
Oleksandr Byelkin
2019-05-04 13:04:14 +02:00
parent b508716117
commit bce6c80138

View File

@@ -347,6 +347,8 @@ static int bulk_null(MYSQL *mysql)
check_stmt_rc(rc, stmt);
mysql_stmt_close(stmt);
free(buf[0]);
free(buf[1]);
free(buf);
rc= mysql_query(mysql, "DROP TABLE IF EXISTS bulk_null");
check_mysql_rc(rc, mysql);