From d369289ea2cc64a4eaae856e912f908bc72d721f Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Thu, 1 Feb 2024 16:34:05 +0800 Subject: [PATCH] fix:[TD-28514] memory leak --- source/client/src/clientTmq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/client/src/clientTmq.c b/source/client/src/clientTmq.c index 8b424a7bf7..c29dcda781 100644 --- a/source/client/src/clientTmq.c +++ b/source/client/src/clientTmq.c @@ -761,6 +761,7 @@ int32_t tmqHbCb(void* param, SDataBuf* pMsg, int32_t code) { } } taosWUnLockLatch(&tmq->lock); + taosReleaseRef(tmqMgmt.rsetId, refId); } tDeatroySMqHbRsp(&rsp); taosMemoryFree(pMsg->pData);