fix searray memory leak

This commit is contained in:
ly0 2021-08-13 13:10:39 +08:00 committed by wangzelin.wzl
parent cb4171c327
commit 4504c4442f

View File

@ -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;
}