From 33de4e2aba857b98ff30433d27606d49bb071201 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Mon, 6 Feb 2023 09:21:46 +0800 Subject: [PATCH] fix:memory leak --- source/dnode/vnode/src/tq/tqExec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dnode/vnode/src/tq/tqExec.c b/source/dnode/vnode/src/tq/tqExec.c index 0a18b7bd11..7896b931dc 100644 --- a/source/dnode/vnode/src/tq/tqExec.c +++ b/source/dnode/vnode/src/tq/tqExec.c @@ -363,7 +363,8 @@ int32_t tqTaosxScanLog(STQ* pTq, STqHandle* pHandle, SPackedData submit, STaosxR } } } - + taosArrayDestroy(pBlocks); + taosArrayDestroy(pSchemas); // if (pRsp->blockNum == 0) { // return -1; // }