* fix typo in message and deallocate all previously allocated memory

git-svn-id: trunk@29527 -
This commit is contained in:
Tomas Hajny 2015-01-22 23:49:04 +00:00
parent dcffcd22e7
commit 33856b9f7b

View File

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