fix memory leak

This commit is contained in:
lichuang 2021-05-10 15:26:33 +08:00
parent 58f1d60815
commit 8497cdee74
1 changed files with 1 additions and 0 deletions

View File

@ -793,6 +793,7 @@ static void tsdbFreeTable(STable *pTable) {
tSkipListDestroy(pTable->pIndex);
taosTZfree(pTable->lastRow);
tfree(pTable->lastCols);
tfree(pTable->sql);
for (int i = 0; i < pTable->lastColNum; ++i) {