mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 06:09:15 +02:00
packager: fix memory leak in package links dialog (merge me)
git-svn-id: trunk@13069 -
This commit is contained in:
parent
31602ce6ea
commit
deb3af7f84
@ -73,7 +73,7 @@ type
|
||||
procedure ClearLinks;
|
||||
procedure IteratePackages(APackage: TLazPackageID);
|
||||
public
|
||||
{ public declarations }
|
||||
destructor Destroy; override;
|
||||
end;
|
||||
|
||||
function ShowPackageLinks: TModalResult;
|
||||
@ -192,6 +192,12 @@ begin
|
||||
FLinks.Add(NewLink);
|
||||
end;
|
||||
|
||||
destructor TPackageLinksDialog.Destroy;
|
||||
begin
|
||||
ClearLinks;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
{ TPkgLinkInfo }
|
||||
|
||||
procedure TPkgLinkInfo.Assign(Source: TLazPackageID);
|
||||
|
Loading…
Reference in New Issue
Block a user