fix: fix memory leak

This commit is contained in:
Ganlin Zhao 2022-11-04 16:15:37 +08:00
parent a2692a3d4e
commit 1204faefb6
1 changed files with 2 additions and 0 deletions

View File

@ -5451,6 +5451,8 @@ int32_t modeFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
colDataAppendNULL(pCol, currentRow);
}
taosHashCleanup(pInfo->pHash);
return pResInfo->numOfRes;
}