Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Coder-256 committed Dec 20, 2024
1 parent ea0fbbd commit f936998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crossbeam-skiplist/tests/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ fn remove_race() {
let s = SkipList::new(epoch::default_collector().clone());

for x in 0..key_range {
s.insert(x, (), guard);
s.insert(x, (), guard).release(guard);
}

let barrier1 = AtomicU32::new(nthreads);
Expand Down

0 comments on commit f936998

Please sign in to comment.