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.99k stars 886 forks source link

fix mem leak in Replicator::_prepare_entry #458

Closed walterzhaoJR closed 5 months ago

walterzhaoJR commented 5 months ago

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