fix:[TD-28514] memory leak

This commit is contained in:
wangmm0220 2024-02-01 16:34:05 +08:00
parent 70a2674315
commit d369289ea2
1 changed files with 1 additions and 0 deletions

View File

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