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);