mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
* Removed some memory leaks
git-svn-id: trunk@20863 -
This commit is contained in:
parent
b1f7f84b41
commit
b0077a1155
@ -1366,7 +1366,9 @@ end;
|
||||
destructor TPasSetType.Destroy;
|
||||
begin
|
||||
if Assigned(EnumType) then
|
||||
begin
|
||||
EnumType.Release;
|
||||
end;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
@ -2814,6 +2816,7 @@ destructor TParamsExpr.Destroy;
|
||||
var
|
||||
i : Integer;
|
||||
begin
|
||||
FreeAndNil(Value);
|
||||
for i:=0 to length(Params)-1 do Params[i].Free;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user