mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 11:06:19 +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}
|
{$ifdef FPC_HAS_FEATURE_HEAP}
|
||||||
{$ifndef HAS_MEMORYMANAGER}
|
{$ifndef HAS_MEMORYMANAGER}
|
||||||
|
{$ifndef FPC_NO_DEFAULT_HEAP}
|
||||||
FinalizeHeap;
|
FinalizeHeap;
|
||||||
{$endif HAS_MEMORYMANAGER}
|
{$endif not FPC_NO_DEFAULT_HEAP}
|
||||||
|
{$endif not HAS_MEMORYMANAGER}
|
||||||
{$endif FPC_HAS_FEATURE_HEAP}
|
{$endif FPC_HAS_FEATURE_HEAP}
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user