From bce6c8013805f203b38e52c979b22b3141334f3c Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Sat, 4 May 2019 13:04:14 +0200 Subject: [PATCH] Free memory used in the unit test --- unittest/libmariadb/bulk1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unittest/libmariadb/bulk1.c b/unittest/libmariadb/bulk1.c index 9531658a..d220aa31 100644 --- a/unittest/libmariadb/bulk1.c +++ b/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);