Merge pull request #24707 from taosdata/fix/TD-28514

fix:[TD-28514] memory leak
This commit is contained in:
dapan1121 2024-02-01 18:44:57 +08:00 committed by GitHub
commit eb04c1a818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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);