diff --git a/src/client/src/tscPrepare.c b/src/client/src/tscPrepare.c index e607e118919b0cd04eb4a63ce938c88f92021359..dcdd838afbf3d7f4f27f151ccf100cc57c626a4a 100644 --- a/src/client/src/tscPrepare.c +++ b/src/client/src/tscPrepare.c @@ -1812,7 +1812,6 @@ int taos_stmt_close(TAOS_STMT* stmt) { } } - tscCloseTscObj(pStmt->pSql->pTscObj); tscFreeSqlObj(pStmt->pSql); tfree(pStmt); STMT_RET(TSDB_CODE_SUCCESS);