mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* don't call FinalizeHeap from InternalExit if FPC_NO_DEFAULT_HEAP is defined.
This reduces i8086-msdos executable sizes by 1.5-1.7k depending on the memory model. git-svn-id: trunk@26919 -
This commit is contained in:
parent
8730b1bf45
commit
0d1342a791
@ -1013,8 +1013,10 @@ Begin
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_HEAP}
|
||||
{$ifndef HAS_MEMORYMANAGER}
|
||||
{$ifndef FPC_NO_DEFAULT_HEAP}
|
||||
FinalizeHeap;
|
||||
{$endif HAS_MEMORYMANAGER}
|
||||
{$endif not FPC_NO_DEFAULT_HEAP}
|
||||
{$endif not HAS_MEMORYMANAGER}
|
||||
{$endif FPC_HAS_FEATURE_HEAP}
|
||||
End;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user