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:
vincents 2010-03-15 20:43:03 +00:00
parent dd7a6d6209
commit 75af880b85

View File

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