Skip to content
Permalink
Browse files

Free memory used in the unit test

  • Loading branch information...
Oleksandr Byelkin
Oleksandr Byelkin committed May 4, 2019
1 parent b508716 commit bce6c8013805f203b38e52c979b22b3141334f3c
Showing with 2 additions and 0 deletions.
  1. +2 −0 unittest/libmariadb/bulk1.c
@@ -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);

0 comments on commit bce6c80

Please sign in to comment.
You can’t perform that action at this time.