diff --git a/src/tsdb/src/tsdbMeta.c b/src/tsdb/src/tsdbMeta.c index fca1b17ba9d55eed1f43acd8adb6d5ee5674f204..b2395f8417c41e9a876bdaca41f802e97dc637d1 100644 --- a/src/tsdb/src/tsdbMeta.c +++ b/src/tsdb/src/tsdbMeta.c @@ -1483,5 +1483,7 @@ static void tsdbFreeTableSchema(STable *pTable) { STSchema *pSchema = taosArrayGetP(pTable->schema, i); tdFreeSchema(pSchema); } + + taosArrayDestroy(pTable->schema); } } \ No newline at end of file