fix crash issue

This commit is contained in:
dapan1121 2021-05-10 09:26:19 +08:00
parent fa3f970748
commit 2e08de2b45
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}