From e62ff462c58ce154596a0f1da9e79cd4395396e3 Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Thu, 28 Jan 2021 11:20:35 +0100 Subject: [PATCH] fix memory leack in the test --- unittest/libmariadb/ps_bugs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittest/libmariadb/ps_bugs.c b/unittest/libmariadb/ps_bugs.c index 148aebdc..aafb507f 100644 --- a/unittest/libmariadb/ps_bugs.c +++ b/unittest/libmariadb/ps_bugs.c @@ -2718,8 +2718,8 @@ static int test_bug5194(MYSQL *mysql) free(param_str); free(query); -// rc= mysql_stmt_close(stmt); -// check_stmt_rc(rc, stmt); + rc= mysql_stmt_close(stmt); + check_stmt_rc(rc, stmt); free(my_bind); stmt_text= "drop table t1"; rc= mysql_real_query(mysql, SL(stmt_text));