fix memory leak
This commit is contained in:
parent
cbcf773962
commit
d648f55753
|
@ -1483,5 +1483,7 @@ static void tsdbFreeTableSchema(STable *pTable) {
|
||||||
STSchema *pSchema = taosArrayGetP(pTable->schema, i);
|
STSchema *pSchema = taosArrayGetP(pTable->schema, i);
|
||||||
tdFreeSchema(pSchema);
|
tdFreeSchema(pSchema);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
taosArrayDestroy(pTable->schema);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue