mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-15 21:11:25 +00:00
Mps br auto_header: cannot segfree nailed seg if it has a buffer
Copied from Perforce Change: 164851 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
28f802331a
commit
e53943f8fd
1 changed files with 2 additions and 2 deletions
|
|
@ -1962,10 +1962,10 @@ static void amcReclaimNailed(Pool pool, Trace trace, Seg seg)
|
|||
if(amcSegHasNailboard(seg)) {
|
||||
amcSegDestroyNailboard(seg, pool);
|
||||
}
|
||||
if(emptySeg) {
|
||||
if(emptySeg && (SegBuffer(seg) == NULL)) {
|
||||
/* fix .nailboard.limitations.middle */
|
||||
amcGen gen = amcSegGen(seg);
|
||||
|
||||
|
||||
--gen->segs;
|
||||
gen->pgen.totalSize -= SegSize(seg);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue