summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 33655b80662..ec878ae830c 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -19889,6 +19889,8 @@ static void test_ps_params_in_ctes()
rc= mysql_stmt_store_result(stmt);
check_execute(stmt, rc);
+ mysql_stmt_close(stmt);
+
rc= mysql_query(mysql, "drop table t1");
myquery(rc);
}