fix mem leak
This commit is contained in:
parent
0a7e4a1706
commit
43f191511d
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue