fix mem leak

This commit is contained in:
yihaoDeng 2024-08-08 13:41:35 +08:00
parent 0a7e4a1706
commit 43f191511d
1 changed files with 1 additions and 1 deletions

View File

@ -2228,7 +2228,7 @@ static FORCE_INLINE void destroyCmsgAndAhandle(void* param) {
} }
if (pMsg->msg.info.handle !=0) { if (pMsg->msg.info.handle !=0) {
transReleaseExHandle(transGetRefMgt(), (int64_t)pMsg->msg.info.handle); transRemoveExHandle(transGetRefMgt(), (int64_t)pMsg->msg.info.handle);
} }
transDestroyConnCtx(pMsg->ctx); transDestroyConnCtx(pMsg->ctx);