Closed haraldh closed 2 years ago
If the next hole node is still lower than the hole to be added, advance the cursor to the next in the list.
For this to trigger, this patch modifies the deallocate_middle() test. It requires two holes in the list before the one to be deallocated.
deallocate_middle()
Signed-off-by: Harald Hoyer harald@profian.com
Hey @haraldh, I think I just hit the same issue in #64, I'll be adding more tests.
Sorry for the issue!
Superceded by #64, thank you for reporting @haraldh!
If the next hole node is still lower than the hole to be added, advance the cursor to the next in the list.
For this to trigger, this patch modifies the
deallocate_middle()
test. It requires two holes in the list before the one to be deallocated.Signed-off-by: Harald Hoyer harald@profian.com