fix memory leak

This commit is contained in:
Hongze Cheng 2022-07-22 01:37:21 +00:00
parent a086019de7
commit 63627172c6
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ int32_t tsdbFSClose(STsdb *pTsdb) {
taosMemoryFree(pSet->pSmaF); taosMemoryFree(pSet->pSmaF);
} }
taosArrayClear(pTsdb->fs.aDFileSet); taosArrayDestroy(pTsdb->fs.aDFileSet);
return code; return code;
} }