提交 bf2808e4 编写于 作者: wmmhello's avatar wmmhello

fix:memory leak for table meta

上级 9eae79a1
...@@ -559,6 +559,7 @@ static int32_t smlModifyDBSchemas(SSmlHandle *info) { ...@@ -559,6 +559,7 @@ static int32_t smlModifyDBSchemas(SSmlHandle *info) {
goto end; goto end;
} }
taosMemoryFreeClear(pTableMeta);
code = catalogRefreshTableMeta(info->pCatalog, &conn, &pName, -1); code = catalogRefreshTableMeta(info->pCatalog, &conn, &pName, -1);
if (code != TSDB_CODE_SUCCESS) { if (code != TSDB_CODE_SUCCESS) {
goto end; goto end;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册