mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-08 04:05:54 +02:00
LazCanvas: Fix memory leak when working with regions.
This commit is contained in:
parent
09dee74383
commit
e48ca31534
@ -225,6 +225,7 @@ end;
|
||||
|
||||
destructor TLazRegion.Destroy;
|
||||
begin
|
||||
Clear;
|
||||
Parts.Free;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user