Fix mem leak.

This commit is contained in:
xiao-77 2025-01-08 09:29:46 +08:00
parent 872a24eb1e
commit b46bd98f6d
1 changed files with 1 additions and 2 deletions

View File

@ -359,8 +359,7 @@ int32_t mndSendRebuildReq(SMnode *pMnode) {
int8_t epUpdated = 0; int8_t epUpdated = 0;
mndGetMnodeEpSet(pMnode, &epSet); mndGetMnodeEpSet(pMnode, &epSet);
code = rpcSendRecvWithTimeout(pMnode->msgCb.statusRpc, &epSet, &rpcMsg, &rpcRsp, &epUpdated, code = tmsgSendReq(&epSet, &rpcMsg);
tsStatusInterval * 5 * 1000);
if (code != 0) { if (code != 0) {
mError("failed to send rebuild config req, since %s", tstrerror(code)); mError("failed to send rebuild config req, since %s", tstrerror(code));
} }