fix(query): memory leak with pPageIdList on sort1

This commit is contained in:
Alex Duan 2022-11-28 21:49:29 +08:00
parent cab48ced20
commit 48f4d26acd
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ void tsortClearOrderdSource(SArray *pOrderedSource) {
taosArrayDestroy((*pSource)->pageIdList);
}
if ((*pSource)->param && !(*pSource)->onlyRef) {
taosMemoryFree((*pSource)->param);
taosMemoryFree((*pSource)->param);
}
taosMemoryFreeClear(*pSource);
}