fix mem leak

This commit is contained in:
yihaoDeng 2024-09-20 10:40:32 +08:00
parent 7c987fa740
commit 93702c8c41
1 changed files with 4 additions and 0 deletions

View File

@ -2504,6 +2504,10 @@ bool cliMayRetry(SCliConn* pConn, SCliReq* pReq, STransMsg* pResp) {
cliRetryMayInitCtx(pInst, pReq);
if (pReq->msg.info.qId != 0) {
return false;
}
if (!cliRetryShouldRetry(pInst, pResp)) {
return false;
}