fix mem leak

This commit is contained in:
yihaoDeng 2024-09-20 10:44:08 +08:00
parent 06edb735ea
commit 51370c2c57
1 changed files with 1 additions and 1 deletions

View File

@ -2502,7 +2502,7 @@ bool cliMayRetry(SCliConn* pConn, SCliReq* pReq, STransMsg* pResp) {
SReqCtx* pCtx = pReq->ctx; SReqCtx* pCtx = pReq->ctx;
int32_t code = pResp->code; int32_t code = pResp->code;
if (pReq->msg.info.qId != 0) { if (pReq && pReq->msg.info.qId != 0) {
return false; return false;
} }