Skip to content

Commit 1bf1b9a

Browse files
committed
Update changelog, remove out of date TODO
1 parent 63df552 commit 1bf1b9a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Unreleased
22

3+
- Fixed logic for freeing nodes ([#64])
4+
5+
[#64]: https://github.com/rust-osdev/linked-list-allocator/pull/64
6+
37
# 0.10.0 – 2022-06-27
48

59
- Changed constructor to take `*mut u8` instead of `usize` ([#62])

src/hole.rs

-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ fn check_merge_top(mut node: NonNull<Hole>, top: *mut u8) {
226226
let node_sz = unsafe { node.as_ref().size };
227227

228228
// If this is the last node, we need to see if we need to merge to the end
229-
// TODO(AJM): We MIGHT need this for merging ALL holes.
230229
let end = node_u8.wrapping_add(node_sz);
231230
let hole_layout = Layout::new::<Hole>();
232231
if end < top {

0 commit comments

Comments
 (0)