baidu / braft

An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc, widely used inside Baidu to build highly-available distributed systems.
Apache License 2.0
3.84k stars 862 forks source link

fix mem leak in Replicator::_prepare_entry #458

Closed walterzhaoJR closed 2 weeks ago

walterzhaoJR commented 2 weeks ago

fix mem leak in Replicator::_prepare_entry detail:https://github.com/baidu/braft/issues/454