mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 02:40:26 +02:00
* also initialise locgrowheapsizesmall in InitHeapThread, should fix crashes
on Windows after r15618 (not sure why things worked fine elsewhere) git-svn-id: trunk@15688 -
This commit is contained in:
parent
281f0f2a8c
commit
56f8b88125
@ -1467,6 +1467,9 @@ begin
|
||||
end;
|
||||
loc_freelists := @freelists;
|
||||
fillchar(loc_freelists^,sizeof(tfreelists),0);
|
||||
{ initialise the local blocksize for allocating oschunks for fixed
|
||||
freelists with the default starting value }
|
||||
loc_freelists^.locgrowheapsizesmall:=growheapsizesmall;
|
||||
{$ifdef DUMP_MEM_USAGE}
|
||||
fillchar(sizeusage,sizeof(sizeusage),0);
|
||||
fillchar(maxsizeusage,sizeof(sizeusage),0);
|
||||
|
Loading…
Reference in New Issue
Block a user