Page 1 of 1

RVReportDxMemDataProvider - Memory leak

Posted: Fri May 12, 2023 12:46 am
by Ceprotec
Attached is the madExcept leak report (I changed the default extension "mbr" to "txt").

Re: RVReportDxMemDataProvider - Memory leak

Posted: Fri May 12, 2023 9:48 am
by Sergey Tkachenko
I confirm the bug.

Quick fix: open RVReportMemDataProvider.pas, delete lines 94..97:

Code: Select all

  Result := TRVReportDBQueryProcessor.Create(DataSet,
    LDestroyAfterUse, LUseRecordCount);
  TRVReportDBQueryProcessor(Result).FSupportsRecordCountByDefault :=
    SupportsRecordCountByDefault;
This fix will be included in the next update.

Re: RVReportDxMemDataProvider - Memory leak

Posted: Fri May 12, 2023 12:38 pm
by Ceprotec
Solved, thank you.