fix memory leak

This commit is contained in:
Hongze Cheng 2021-08-05 16:57:50 +08:00
parent cbcf773962
commit d648f55753
1 changed files with 2 additions and 0 deletions

View File

@ -1483,5 +1483,7 @@ static void tsdbFreeTableSchema(STable *pTable) {
STSchema *pSchema = taosArrayGetP(pTable->schema, i);
tdFreeSchema(pSchema);
}
taosArrayDestroy(pTable->schema);
}
}