kanidm / concread

Concurrently Readable Data Structures for Rust
Mozilla Public License 2.0
339 stars 15 forks source link

v5.2 - Resolve memory leak in arcache #117

Closed Firstyear closed 3 months ago

Firstyear commented 3 months ago

If the write miss thread local cache was enabled, a mistake existed in the case where the write thread is under high pressure which could lead to memory being leaked. Nodes are now wrapped in a safe wrapper to ensure they can not be leaked.