From 0cdc1656a70c52103b4329debf9ed02ccacfb3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Sat, 24 Oct 2020 11:07:47 +0300 Subject: [PATCH] Do not leak memory in the skipped MDEV-23768 unit test --- unittest/libmariadb/ps_bugs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unittest/libmariadb/ps_bugs.c b/unittest/libmariadb/ps_bugs.c index 61f412a5..fcd443aa 100644 --- a/unittest/libmariadb/ps_bugs.c +++ b/unittest/libmariadb/ps_bugs.c @@ -5206,6 +5206,7 @@ static int test_returning(MYSQL *mysql) int rc; diag("MDEV-23768 not fixed yet"); + mysql_stmt_close(stmt); return SKIP; rc= mysql_query(mysql, "CREATE TEMPORARY TABLE t1 (a int not null auto_increment primary key, b json)");