From 0d2cc5b6f3819e8b74a4abe7bdef8c9ff85cb8d0 Mon Sep 17 00:00:00 2001 From: hzcheng Date: Sat, 18 Apr 2020 18:06:53 +0800 Subject: [PATCH] TD-100 --- src/tsdb/src/tsdbRead.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/tsdb/src/tsdbRead.c b/src/tsdb/src/tsdbRead.c index 5ede599737..1783e26f53 100644 --- a/src/tsdb/src/tsdbRead.c +++ b/src/tsdb/src/tsdbRead.c @@ -1531,14 +1531,15 @@ void tsdbCleanupQueryHandle(tsdb_query_handle_t queryHandle) { taosArrayDestroy(pQueryHandle->pTableCheckInfo); tfree(pQueryHandle->compIndex); - size_t cols = taosArrayGetSize(pQueryHandle->pColumns); - for (int32_t i = 0; i < cols; ++i) { - SColumnInfoData* pColInfo = taosArrayGet(pQueryHandle->pColumns, i); - // tfree(pColInfo->pData); - } + // size_t cols = taosArrayGetSize(pQueryHandle->pColumns); + // for (int32_t i = 0; i < cols; ++i) { + // SColumnInfoData* pColInfo = taosArrayGet(pQueryHandle->pColumns, i); + // // tfree(pColInfo->pData); + // } taosArrayDestroy(pQueryHandle->pColumns); tfree(pQueryHandle->pDataBlockInfo); + tsdbDestroyHelper(&pQueryHandle->rhelper); tfree(pQueryHandle); } -- GitLab