Revert "[bugfix] do not fuse end-of-page block into other blocks"
This reverts commit 5656590fa0
.
This commit is contained in:
parent
ab5de1c0c4
commit
4c5d3b4257
2
src/gc.c
2
src/gc.c
|
@ -455,7 +455,7 @@ gc_free(pic_state *pic, union header *p)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (p + p->s.size == bp->s.ptr && bp->s.ptr->s.size > 0) {
|
if (p + p->s.size == bp->s.ptr) {
|
||||||
p->s.size += bp->s.ptr->s.size;
|
p->s.size += bp->s.ptr->s.size;
|
||||||
p->s.ptr = bp->s.ptr->s.ptr;
|
p->s.ptr = bp->s.ptr->s.ptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue