From a887ccda897ac35f4884ff80170a9caa129c9067 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sun, 2 Apr 2023 15:30:56 +0800 Subject: [PATCH] fix(query): destroy the tablelist in cache scanner. --- source/libs/executor/src/cachescanoperator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/executor/src/cachescanoperator.c b/source/libs/executor/src/cachescanoperator.c index 226b3dacd0..0588b9c53a 100644 --- a/source/libs/executor/src/cachescanoperator.c +++ b/source/libs/executor/src/cachescanoperator.c @@ -280,6 +280,7 @@ void destroyCacheScanOperator(void* param) { taosMemoryFree(pInfo->pSlotIds); taosArrayDestroy(pInfo->pUidList); taosArrayDestroy(pInfo->matchInfo.pList); + tableListDestroy(pInfo->pTableList); if (pInfo->pLastrowReader != NULL) { pInfo->pLastrowReader = tsdbCacherowsReaderClose(pInfo->pLastrowReader); -- GitLab