From c034940cc84ebfa74bb3391afeebd002376b6459 Mon Sep 17 00:00:00 2001 From: Hui Li Date: Fri, 6 Nov 2020 10:07:51 +0800 Subject: [PATCH] [TD-1961] modify return when call taos_query() --- tests/examples/c/apitest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/examples/c/apitest.c b/tests/examples/c/apitest.c index a2754913b3..be60a88ad7 100644 --- a/tests/examples/c/apitest.c +++ b/tests/examples/c/apitest.c @@ -150,6 +150,7 @@ static void verify_query(TAOS* taos) { res = taos_query(taos, "select * from meters"); taos_stop_query(res); + taos_free_result(res); } -- GitLab