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

[TD-6167]<fix> fix memory leak

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