Quickreport forum
Go to Quickreport website
Welcome Guest Search | Active Topics | Log In | Register

QuickRpt Memory leak
beluco
#1 Posted : 14 April 2017 17:10:00(UTC)
Rank: Newbie

Groups: Registered
Joined: 21/07/2016(UTC)
Posts: 1

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Version 6 build_4_04, downloaded on 04/12/2017 for delphi Seattle.

Unit QuickRpt has caused Memory leak (13 - 20 bytes: TList x 1, TQRLinkPage x 1).

At first, it seems to me that this line is missing:
"CurrLinkPage.Free;" Inside: destructor TCustomQuickRep.Destroy;

Thus:
destructor TCustomQuickRep.Destroy;
begin
DeleteDC(ReferenceDC);
if FEnvironment <> nil then FEnvironment.Free;
FDescription.Free;
FPrinterSettings.Free;
UserPrinterSettings.Free;
FPage.Free;
BandRegList.Free;
FBandList.Free;
FBands.Free;
FPageLinkInfoList.Free;
Controller.Free;
FPreviewSetup.Free;
currLinkPage.Free; // <-- coloquei em 14/04/2017
inherited Destroy;
end;
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.029 seconds.