You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using butil::ObjectPoolAllocator to construct butil::MPSCQueue. The returned pointer will be accidentally saved in a object pool of void pointers.
To Reproduce (复现方法)
Construct butil::MPSCQueue with butil::ObjectPoolAllocator, and check memory consumption.
Expected behavior (期望行为)
No memory leak.
Versions (各种版本)
OS: ALL supported OS.
Compiler: ALL supported compiler.
brpc: bRPC version after MPSQ was introduced.
protobuf: ALL supported version.
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered:
Describe the bug (描述bug)
When using
butil::ObjectPoolAllocator
to constructbutil::MPSCQueue
. The returned pointer will be accidentally saved in a object pool of void pointers.To Reproduce (复现方法)
Construct
butil::MPSCQueue
withbutil::ObjectPoolAllocator
, and check memory consumption.Expected behavior (期望行为)
No memory leak.
Versions (各种版本)
OS: ALL supported OS.
Compiler: ALL supported compiler.
brpc: bRPC version after MPSQ was introduced.
protobuf: ALL supported version.
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered: