From 2e08de2b45bdf99c320176c64f29a11452ab1647 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Mon, 10 May 2021 09:26:19 +0800 Subject: [PATCH] fix crash issue --- src/client/src/tscPrepare.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/src/tscPrepare.c b/src/client/src/tscPrepare.c index c8a3b963f0..6307643c95 100644 --- a/src/client/src/tscPrepare.c +++ b/src/client/src/tscPrepare.c @@ -1388,6 +1388,7 @@ int taos_stmt_close(TAOS_STMT* stmt) { taosHashCleanup(pStmt->mtb.pTableHash); pStmt->mtb.pTableBlockHashList = tscDestroyBlockHashTable(pStmt->mtb.pTableBlockHashList, true); taosHashCleanup(pStmt->pSql->cmd.pTableBlockHashList); + pStmt->pSql->cmd.pTableBlockHashList = NULL; } } -- GitLab