packager: fix memory leak in package links dialog (merge me)

git-svn-id: trunk@13069 -
This commit is contained in:
paul 2007-11-29 01:47:27 +00:00
parent 31602ce6ea
commit deb3af7f84

View File

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