mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 17:39:22 +02:00
fixed memleak
git-svn-id: trunk@9800 -
This commit is contained in:
parent
3597db9df5
commit
1a15ad01e1
@ -120,6 +120,7 @@ begin
|
|||||||
if SrcIndex=FItemCapacity then
|
if SrcIndex=FItemCapacity then
|
||||||
SrcIndex:=0;
|
SrcIndex:=0;
|
||||||
until false;
|
until false;
|
||||||
|
FreeMem(FItems);
|
||||||
end;
|
end;
|
||||||
FTopIndex:=0;
|
FTopIndex:=0;
|
||||||
FLastIndex:=DestIndex;
|
FLastIndex:=DestIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user