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

TQRLinkPage and TQRPageInfoList memory leaks
CarlosMatos
#1 Posted : 21 June 2018 16:23:02(UTC)
Rank: Newbie

Groups: Registered
Joined: 02/08/2016(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Unit QTPageInfo has many memory leaks within classe TQRLinkPage and TQRPageInfoList.
When destroying TQRPageInfoList, their create TQRLinkPage are not being freed.

Classes must be rewriten to eliminate those memory leaks.
CarlosMatos
#2 Posted : 22 June 2018 09:49:30(UTC)
Rank: Newbie

Groups: Registered
Joined: 02/08/2016(UTC)
Posts: 5

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
CarlosMatos wrote:
Unit QTPageInfo has many memory leaks within classe TQRLinkPage and TQRPageInfoList.
When destroying TQRPageInfoList, their create TQRLinkPage are not being freed.

Classes must be rewriten to eliminate those memory leaks.


Ok, I figure it out that what was missing was currLinkPage.Free on destructor TCustomQuickRep.Destroy;
currLinkPage is being created on constructor TCustomQuickRep.CreateNew but never being freed.

Maybe you can implement this on a next release.
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.021 seconds.