mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 13:59:28 +02:00
* fix typo in message and deallocate all previously allocated memory
git-svn-id: trunk@29527 -
This commit is contained in:
parent
dcffcd22e7
commit
33856b9f7b
@ -23,10 +23,10 @@ begin
|
||||
begin
|
||||
GetMem(MemArray[i],Size(i));
|
||||
end;
|
||||
for i:=1 to MAX_SIZE div SIZE_INC do
|
||||
for i:=0 to MAX_SIZE div SIZE_INC do
|
||||
begin
|
||||
FreeMem(MemArray[i],Size(i));
|
||||
end;
|
||||
Writeln(stderr,'Everthing is fine');
|
||||
Writeln(stderr,'Everything is fine');
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user