提交 1204faef 编写于 作者: G Ganlin Zhao

fix: fix memory leak

上级 a2692a3d
...@@ -5451,6 +5451,8 @@ int32_t modeFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) { ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册