Commit 4466451
committed
Fix realloc shrink adjacency check
The merge check compared block + size instead of block + old_size,
making it dead code. Leftover fragments were never merged with
adjacent free blocks.
Signed-off-by: Nicolas 'Pixel' Noble <nicolas@nobis-crew.org>1 parent c2ad3b2 commit 4466451
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
588 | | - | |
| 587 | + | |
| 588 | + | |
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| |||
0 commit comments