mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 05:39:17 +02:00
LazReport, fix leak left by previous patch
git-svn-id: trunk@49627 -
This commit is contained in:
parent
2bd8349602
commit
2024fef1d5
@ -8924,6 +8924,7 @@ begin
|
|||||||
if pageRgn<>0 then
|
if pageRgn<>0 then
|
||||||
LCLIntf.DeleteObject(pageRgn);
|
LCLIntf.DeleteObject(pageRgn);
|
||||||
LCLIntf.SelectClipRGN(Canvas.Handle, oldRgn);
|
LCLIntf.SelectClipRGN(Canvas.Handle, oldRgn);
|
||||||
|
LCLIntf.DeleteObject(oldRgn);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user