提交 1a7406c3 编写于 作者: G Ganlin Zhao

fix: fix memory leak

上级 de5d75ea
......@@ -1244,6 +1244,7 @@ static int insertStmtExecute(STscStmt* stmt) {
while (pSql->retry < pSql->maxRetry) {
if (pSql->res.code == TSDB_CODE_TDB_TABLE_RECONFIGURE) {
pSql->retry += 1;
pCmd->insertParam.pDataBlocks = tscDestroyBlockArrayList(pSql, pCmd->insertParam.pDataBlocks);
code = insertStmtExecuteImpl(stmt, pTableMetaInfo, true);
if (code != TSDB_CODE_SUCCESS) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册