Skip to content

Commit

Permalink
[m] FileSearch: JPGetDirectoryList - Added Last.Free (fixed memory leak)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdp committed Sep 19, 2021
1 parent be665a9 commit e15c52f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Base/JPL.FileSearch.pas
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ procedure JPGetDirectoryList(

SubdirsList.Free;
TempList.Free;
Last.Free;
end;
end;
{$endregion}
Expand Down

0 comments on commit e15c52f

Please sign in to comment.