From 48f4d26acdc52bb9e42670489b822dbbdfb29399 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Mon, 28 Nov 2022 21:49:29 +0800 Subject: [PATCH] fix(query): memory leak with pPageIdList on sort1 --- source/libs/executor/src/tsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/executor/src/tsort.c b/source/libs/executor/src/tsort.c index 244d403aa0..8014074d90 100644 --- a/source/libs/executor/src/tsort.c +++ b/source/libs/executor/src/tsort.c @@ -121,7 +121,7 @@ void tsortClearOrderdSource(SArray *pOrderedSource) { taosArrayDestroy((*pSource)->pageIdList); } if ((*pSource)->param && !(*pSource)->onlyRef) { - taosMemoryFree((*pSource)->param); + taosMemoryFree((*pSource)->param); } taosMemoryFreeClear(*pSource); } -- GitLab