* 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:
nickysn 2014-03-02 11:38:11 +00:00
parent 8730b1bf45
commit 0d1342a791

View File

@ -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;