fix searray memory leak
This commit is contained in:
parent
cb4171c327
commit
4504c4442f
@ -88,6 +88,7 @@ void ObDtlRpcChannel::SendBCMsgCB::on_invalid()
|
||||
LOG_WARN("set finish failed", K(ret), K(resps.count()), K(responses_.count()), K(trace_id_));
|
||||
}
|
||||
}
|
||||
resps.reset();
|
||||
}
|
||||
|
||||
void ObDtlRpcChannel::SendBCMsgCB::on_timeout()
|
||||
@ -102,6 +103,7 @@ void ObDtlRpcChannel::SendBCMsgCB::on_timeout()
|
||||
LOG_WARN("set finish failed", K(ret), K(resps.count()), K(responses_.count()), K(trace_id_));
|
||||
}
|
||||
}
|
||||
resps.reset();
|
||||
}
|
||||
|
||||
int ObDtlRpcChannel::SendBCMsgCB::process()
|
||||
@ -125,6 +127,7 @@ int ObDtlRpcChannel::SendBCMsgCB::process()
|
||||
}
|
||||
LOG_TRACE("rpc clone sendbcmsg cb", K(responses_.at(i)), K(trace_id_));
|
||||
}
|
||||
resps.reset();
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user