refactor return error

This commit is contained in:
yihaoDeng 2024-07-30 13:08:09 +08:00
parent 7779c8a75e
commit 14e46d6756
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ void dmSendStatusReq(SDnodeMgmt *pMgmt) {
dError("failed to serialize status req since %s", tstrerror(contLen));
return;
}
void *pHead = rpcMallocCont(contLen);
contLen = tSerializeSStatusReq(pHead, contLen, &req);
if (contLen < 0) {