BLO: shrink old-new-map when it is cleared

This was accidentally changed in {rB57613630c7faa41aa20ae9}.
Not shrinking the map can degrade performance.
This commit is contained in:
Jacques Lucke 2022-12-09 12:07:40 +01:00
parent bf1791ba92
commit a55c356a1c
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ static void oldnewmap_clear(OldNewMap *onm)
MEM_freeN(new_addr.newp);
}
}
onm->map.clear();
onm->map.clear_and_shrink();
}
static void oldnewmap_free(OldNewMap *onm)