fix(tsdb): fix memory leak.

This commit is contained in:
Haojun Liao 2024-04-11 11:09:57 +08:00
parent 1f85a47cab
commit 563efeb560
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ void cleanupDataBlockIterator(SDataBlockIter* pIter, bool hasPk) {
if (hasPk) {
taosArrayDestroyEx(pIter->blockList, freePkItem);
} else {
taosArrayClear(pIter->blockList);
taosArrayDestroy(pIter->blockList);
}
}