From 12b10dfc767e27ca733d818fa9362043419dc9c6 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 23 Aug 2023 09:08:37 +0800 Subject: [PATCH] fix mem leak --- source/libs/stream/src/streamMeta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libs/stream/src/streamMeta.c b/source/libs/stream/src/streamMeta.c index 28f4c7b7d8..1284ce31b1 100644 --- a/source/libs/stream/src/streamMeta.c +++ b/source/libs/stream/src/streamMeta.c @@ -663,6 +663,8 @@ void metaHbToMnode(void* param, void* tmrId) { } tEncoderClear(&encoder); + taosArrayDestroy(hbMsg.pTaskStatus); + SRpcMsg msg = {0}; initRpcMsg(&msg, TDMT_MND_STREAM_HEARTBEAT, buf, tlen); msg.info.noResp = 1;