提交 48f4d26a 编写于 作者: A Alex Duan

fix(query): memory leak with pPageIdList on sort1

上级 cab48ced
...@@ -121,7 +121,7 @@ void tsortClearOrderdSource(SArray *pOrderedSource) { ...@@ -121,7 +121,7 @@ void tsortClearOrderdSource(SArray *pOrderedSource) {
taosArrayDestroy((*pSource)->pageIdList); taosArrayDestroy((*pSource)->pageIdList);
} }
if ((*pSource)->param && !(*pSource)->onlyRef) { if ((*pSource)->param && !(*pSource)->onlyRef) {
taosMemoryFree((*pSource)->param); taosMemoryFree((*pSource)->param);
} }
taosMemoryFreeClear(*pSource); taosMemoryFreeClear(*pSource);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册