fix(query): fix memory leak.

This commit is contained in:
Haojun Liao 2022-11-18 22:38:50 +08:00
parent e09ea90b97
commit f24eb634ef
1 changed files with 4 additions and 0 deletions

View File

@ -4685,6 +4685,10 @@ void destroyTableMergeScanOperatorInfo(void* param) {
taosArrayDestroy(pTableScanInfo->pSortInfo);
cleanupExprSupp(&pTableScanInfo->base.pseudoSup);
tsdbReaderClose(pTableScanInfo->base.dataReader);
pTableScanInfo->base.dataReader = NULL;
taosLRUCacheCleanup(pTableScanInfo->base.metaCache.pTableMetaEntryCache);
taosMemoryFreeClear(param);
}