mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 07:29:34 +02:00
LCL: fixed memleak in stringhashlist, when destroying a hashlist without items (issue #15755)
patch by: cobines git-svn-id: trunk@24018 -
This commit is contained in:
parent
dd7a6d6209
commit
75af880b85
@ -129,7 +129,6 @@ procedure TStringHashList.Clear;
|
||||
var
|
||||
I: Integer;
|
||||
begin
|
||||
if fCount = 0 then exit;
|
||||
for I:= 0 to fCount -1 do
|
||||
Dispose(fList[I]);
|
||||
if FList<>nil then begin
|
||||
|
Loading…
Reference in New Issue
Block a user