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

MemoryLogStorage 析构函数中没有对LogEntry解引用导致内存泄漏 #339

Closed niukuo closed 2 years ago

niukuo commented 3 years ago

在使用 MemoryLogStorage 时会造成最后留在内存中的 LogEntry 发生内存泄漏