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

[TD-6167]<fix> fix memory leak

上级 0ffca2c4
...@@ -1804,7 +1804,7 @@ int taos_stmt_close(TAOS_STMT* stmt) { ...@@ -1804,7 +1804,7 @@ int taos_stmt_close(TAOS_STMT* stmt) {
} }
} }
tscFreeRegisteredSqlObj(pStmt->pSql)); tscFreeRegisteredSqlObj(pStmt->pSql);
tfree(pStmt); tfree(pStmt);
STMT_RET(TSDB_CODE_SUCCESS); STMT_RET(TSDB_CODE_SUCCESS);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册