fix mem leak
This commit is contained in:
parent
06edb735ea
commit
51370c2c57
|
@ -2502,7 +2502,7 @@ bool cliMayRetry(SCliConn* pConn, SCliReq* pReq, STransMsg* pResp) {
|
|||
SReqCtx* pCtx = pReq->ctx;
|
||||
int32_t code = pResp->code;
|
||||
|
||||
if (pReq->msg.info.qId != 0) {
|
||||
if (pReq && pReq->msg.info.qId != 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue