Merge pull request #17901 from taosdata/fix/TD-20174
fix: fix memory leak
This commit is contained in:
commit
fc7f62d29d
|
@ -5451,6 +5451,8 @@ int32_t modeFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
|
||||||
colDataAppendNULL(pCol, currentRow);
|
colDataAppendNULL(pCol, currentRow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
taosHashCleanup(pInfo->pHash);
|
||||||
|
|
||||||
return pResInfo->numOfRes;
|
return pResInfo->numOfRes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue