fix mem leak
This commit is contained in:
parent
cfa7c19dd5
commit
5fccaf62b5
|
@ -1498,8 +1498,11 @@ int transSendResponse(const STransMsg* msg) {
|
|||
return 0;
|
||||
}
|
||||
SExHandle* exh = msg->info.handle;
|
||||
|
||||
if (exh == NULL) {
|
||||
return 0;
|
||||
rpcFreeCont(msg->pCont);
|
||||
tTrace("msg handle already released");
|
||||
return -1;
|
||||
}
|
||||
int64_t refId = msg->info.refId;
|
||||
ASYNC_CHECK_HANDLE(exh, refId);
|
||||
|
|
Loading…
Reference in New Issue