Merge pull request #27302 from taosdata/fix/TD-31532

fix: merge join destroy table issue
This commit is contained in:
dapan1121 2024-08-20 08:45:03 +08:00 committed by GitHub
commit 768855c26a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1746,6 +1746,9 @@ void destroyGrpArray(void* ppArray) {
} }
void destroyMergeJoinTableCtx(SMJoinTableCtx* pTable) { void destroyMergeJoinTableCtx(SMJoinTableCtx* pTable) {
if (NULL == pTable) {
return;
}
mJoinDestroyCreatedBlks(pTable->createdBlks); mJoinDestroyCreatedBlks(pTable->createdBlks);
taosArrayDestroy(pTable->createdBlks); taosArrayDestroy(pTable->createdBlks);
tSimpleHashCleanup(pTable->pGrpHash); tSimpleHashCleanup(pTable->pGrpHash);