From 41b8d9f16eeaa1694e2e211ed46bb9be2789c82d Mon Sep 17 00:00:00 2001 From: slzhou Date: Tue, 13 Sep 2022 17:40:26 +0800 Subject: [PATCH] fix: free column data retrieved --- src/query/src/qExecutor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index a7e9d4a014..bf1a658b51 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -360,6 +360,7 @@ static void sortGroupResByOrderList(SGroupResInfo* pGroupResInfo, SQueryRuntimeE .colBytes = bytes, .resultRows = pGroupResInfo->pRows}; taosArraySortPWithExt(pGroupResInfo->pRows, compareRowData, &support); + free(colData); } // setup the output buffer for each operator -- GitLab