Fix mem leak.
This commit is contained in:
parent
872a24eb1e
commit
b46bd98f6d
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue