Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

memory leaks in RB 10.02

edited March 2006 in General
When generating PDF from a report, there are memory leaks in RB.

I use memcheck to test my application against memory leaks.

After the preview or the direct print of a report I added following
lines, to generate a PDF File of the currently printed report:

Report.AllowPrintToFile := True;
Report.ShowPrintDialog := False;
Report.ShowCancelDialog := False;
Report.DeviceType := 'PDF';
Report.TextFileName := 'c:\temp\test.pdf';
Report.PDFSettings.Author := 'MyApplication';
Report.PDFSettings.Title := 'AutoPDF';
Report.PDFSettings.OpenPDFFile := false;
Report.Print;

After that I finish my application and memcheck brings a lot of memory
leak messages.
Printing alone (without PDF generation after printing) does not bring
any memory leak messages.

Here is the logfile of memcheck:

MemCheck version 2.73

Total leak: 388 bytes


*** MEMCHK: Blocks STILL allocated ***

Leak #0 Instance of TppPDFRendererStandardText
Size: 136
2 Occurences
call stack - 0 : Module ppPDFRendererText.pas Routine
@Pppdfrenderertext@TppPDFRendererText@RenderToPDF Line 86 Find error:
00632C78
call stack - 1 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@DrawToPage Line 435 Find error: 00633EA8
call stack - 2 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@SavePageToFile Line 388 Find error: 00633CE3
call stack - 3 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@ReceivePage Line 342 Find error: 00633B7F
call stack - 4 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@TakeDeviceAction Line 931 Find error: 006484AE
call stack - 5 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@ReceivePage Line 1156 Find error: 0064881E
call stack - 6 : Module ppReport.pas Routine
@Ppreport@TppReport@PageSent Line 2009 Find error: 006151BE
call stack - 7 : Module ppClass.pas Routine
@Ppclass@TppCustomEngine@DoOnPageSent Line 9915 Find error: 00659507
call stack - 8 : Module ppEngine.pas Routine
@Ppengine@TppEngine@SendPage Line 1765 Find error: 005BA980
call stack - 9 : Module ppEngine.pas Routine
@Ppengine@TppEngine@FinishPage Line 1537 Find error: 005BA242
call stack - 10 : Module ppEngine.pas Routine
@Ppengine@TppEngine@GeneratePage Line 729 Find error: 005B8BFC
call stack - 11 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RestorePage Line 814 Find error: 005B8DBA
call stack - 12 : Module ppEngine.pas Routine
@Ppengine@TppEngine@Generate Line 562 Find error: 005B87C7
call stack - 13 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RequestPage Line 510 Find error: 005B86A7
call stack - 14 : Module ppReport.pas Routine
@Ppreport@TppReport@RequestPage Line 1931 Find error: 00615031
call stack - 15 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@DoOnPageRequest Line 1233 Find error: 006489F5
call stack - 16 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@Publish Line 1043 Find error: 006486E8
call stack - 17 : Module ppProd.pas Routine
@Ppprod@TppProducer@PublishReport Line 1354 Find error: 0063AB85
call stack - 18 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToDevices Line 1411 Find error: 0063AC34
call stack - 19 : Module ppReport.pas Routine
@Ppreport@TppReport@PrintToDevices Line 1892 Find error: 00614F11
call stack - 20 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToPrinter Line 1714 Find error: 0063B294
call stack - 21 : Module ppProd.pas Routine
@Ppprod@TppProducer@Print Line 1298 Find error: 0063AA58
call stack - 22 : Module ppReport.pas Routine
@Ppreport@TppReport@Print Line 1043 Find error: 00613D92
call stack - 23 : Module preview.pas Routine
@Preview@Tfrmpreview@pdf_erstellen Line 619 Find error: 0111C90F
call stack - 24 : Module preview.pas Routine
@Preview@printreport Line 552 Find error: 0111C3A2
call stack - 25 : Module preview.pas(no debug info) Line 1096
Find error: 0111E0F9
call stack - 26 : Module preview.pas(no debug info) Line 1176
Find error: 0111E7DB

Leak #1 User allocated memory (GetMem)
Size: 16
1 Occurence
call stack - 0 : Module classes.pas Routine
@Classes@TList@SetCapacity Line 3067 Find error: 004247C7
call stack - 1 : Module classes.pas Routine
@Classes@TList@Grow Line 2979 Find error: 00424505
call stack - 2 : Module classes.pas Routine @Classes@TList@Add
Line 2887 Find error: 00424200
call stack - 3 : Module ppPDFRendererText.pas Routine
@Pppdfrenderertext@TppPDFRendererText@RenderToPDF Line 95 Find error:
00632CD9
call stack - 4 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@DrawToPage Line 435 Find error: 00633EA8
call stack - 5 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@SavePageToFile Line 388 Find error: 00633CE3
call stack - 6 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@ReceivePage Line 342 Find error: 00633B7F
call stack - 7 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@TakeDeviceAction Line 931 Find error: 006484AE
call stack - 8 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@ReceivePage Line 1156 Find error: 0064881E
call stack - 9 : Module ppReport.pas Routine
@Ppreport@TppReport@PageSent Line 2009 Find error: 006151BE
call stack - 10 : Module ppClass.pas Routine
@Ppclass@TppCustomEngine@DoOnPageSent Line 9915 Find error: 00659507
call stack - 11 : Module ppEngine.pas Routine
@Ppengine@TppEngine@SendPage Line 1765 Find error: 005BA980
call stack - 12 : Module ppEngine.pas Routine
@Ppengine@TppEngine@FinishPage Line 1537 Find error: 005BA242
call stack - 13 : Module ppEngine.pas Routine
@Ppengine@TppEngine@GeneratePage Line 729 Find error: 005B8BFC
call stack - 14 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RestorePage Line 814 Find error: 005B8DBA
call stack - 15 : Module ppEngine.pas Routine
@Ppengine@TppEngine@Generate Line 562 Find error: 005B87C7
call stack - 16 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RequestPage Line 510 Find error: 005B86A7
call stack - 17 : Module ppReport.pas Routine
@Ppreport@TppReport@RequestPage Line 1931 Find error: 00615031
call stack - 18 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@DoOnPageRequest Line 1233 Find error: 006489F5
call stack - 19 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@Publish Line 1043 Find error: 006486E8
call stack - 20 : Module ppProd.pas Routine
@Ppprod@TppProducer@PublishReport Line 1354 Find error: 0063AB85
call stack - 21 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToDevices Line 1411 Find error: 0063AC34
call stack - 22 : Module ppReport.pas Routine
@Ppreport@TppReport@PrintToDevices Line 1892 Find error: 00614F11
call stack - 23 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToPrinter Line 1714 Find error: 0063B294
call stack - 24 : Module ppProd.pas Routine
@Ppprod@TppProducer@Print Line 1298 Find error: 0063AA58
call stack - 25 : Module ppReport.pas Routine
@Ppreport@TppReport@Print Line 1043 Find error: 00613D92
call stack - 26 : Module preview.pas Routine
@Preview@Tfrmpreview@pdf_erstellen Line 619 Find error: 0111C90F

Leak #2 User allocated memory (GetMem)
Size: 16
1 Occurence
call stack - 0 : Module classes.pas Routine
@Classes@TList@SetCapacity Line 3067 Find error: 004247C7
call stack - 1 : Module classes.pas Routine
@Classes@TList@Grow Line 2979 Find error: 00424505
call stack - 2 : Module classes.pas Routine @Classes@TList@Add
Line 2887 Find error: 00424200
call stack - 3 : Module ppPDFRendererManager.pas Routine
@Pppdfrenderermanager@TppPDFRendererManager@GetRendererInstance Line
144 Find error: 0062C91B
call stack - 4 : Module ppPDFRendererManager.pas Routine
@Pppdfrenderermanager@TppPDFRendererManager@GetRendererForDrawCommand
Line 115 Find error: 0062C88F
call stack - 5 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@DrawToPage Line 426 Find error: 00633E43
call stack - 6 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@SavePageToFile Line 388 Find error: 00633CE3
call stack - 7 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@ReceivePage Line 342 Find error: 00633B7F
call stack - 8 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@TakeDeviceAction Line 931 Find error: 006484AE
call stack - 9 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@ReceivePage Line 1156 Find error: 0064881E
call stack - 10 : Module ppReport.pas Routine
@Ppreport@TppReport@PageSent Line 2009 Find error: 006151BE
call stack - 11 : Module ppClass.pas Routine
@Ppclass@TppCustomEngine@DoOnPageSent Line 9915 Find error: 00659507
call stack - 12 : Module ppEngine.pas Routine
@Ppengine@TppEngine@SendPage Line 1765 Find error: 005BA980
call stack - 13 : Module ppEngine.pas Routine
@Ppengine@TppEngine@FinishPage Line 1537 Find error: 005BA242
call stack - 14 : Module ppEngine.pas Routine
@Ppengine@TppEngine@GeneratePage Line 729 Find error: 005B8BFC
call stack - 15 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RestorePage Line 814 Find error: 005B8DBA
call stack - 16 : Module ppEngine.pas Routine
@Ppengine@TppEngine@Generate Line 562 Find error: 005B87C7
call stack - 17 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RequestPage Line 510 Find error: 005B86A7
call stack - 18 : Module ppReport.pas Routine
@Ppreport@TppReport@RequestPage Line 1931 Find error: 00615031
call stack - 19 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@DoOnPageRequest Line 1233 Find error: 006489F5
call stack - 20 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@Publish Line 1043 Find error: 006486E8
call stack - 21 : Module ppProd.pas Routine
@Ppprod@TppProducer@PublishReport Line 1354 Find error: 0063AB85
call stack - 22 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToDevices Line 1411 Find error: 0063AC34
call stack - 23 : Module ppReport.pas Routine
@Ppreport@TppReport@PrintToDevices Line 1892 Find error: 00614F11
call stack - 24 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToPrinter Line 1714 Find error: 0063B294
call stack - 25 : Module ppProd.pas Routine
@Ppprod@TppProducer@Print Line 1298 Find error: 0063AA58
call stack - 26 : Module ppReport.pas Routine
@Ppreport@TppReport@Print Line 1043 Find error: 00613D92

Leak #3 Instance of TList
Size: 16
1 Occurence
call stack - 0 : Module ppPDFRendererText.pas Routine
@Pppdfrenderertext@TppPDFRendererText@Create Line 52 Find error:
00632B7E
call stack - 1 : Module ppPDFRendererManager.pas Routine
@Pppdfrenderermanager@TppPDFRendererManager@GetRendererInstance Line
143 Find error: 0062C90A
call stack - 2 : Module ppPDFRendererManager.pas Routine
@Pppdfrenderermanager@TppPDFRendererManager@GetRendererForDrawCommand
Line 115 Find error: 0062C88F
call stack - 3 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@DrawToPage Line 426 Find error: 00633E43
call stack - 4 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@SavePageToFile Line 388 Find error: 00633CE3
call stack - 5 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@ReceivePage Line 342 Find error: 00633B7F
call stack - 6 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@TakeDeviceAction Line 931 Find error: 006484AE
call stack - 7 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@ReceivePage Line 1156 Find error: 0064881E
call stack - 8 : Module ppReport.pas Routine
@Ppreport@TppReport@PageSent Line 2009 Find error: 006151BE
call stack - 9 : Module ppClass.pas Routine
@Ppclass@TppCustomEngine@DoOnPageSent Line 9915 Find error: 00659507
call stack - 10 : Module ppEngine.pas Routine
@Ppengine@TppEngine@SendPage Line 1765 Find error: 005BA980
call stack - 11 : Module ppEngine.pas Routine
@Ppengine@TppEngine@FinishPage Line 1537 Find error: 005BA242
call stack - 12 : Module ppEngine.pas Routine
@Ppengine@TppEngine@GeneratePage Line 729 Find error: 005B8BFC
call stack - 13 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RestorePage Line 814 Find error: 005B8DBA
call stack - 14 : Module ppEngine.pas Routine
@Ppengine@TppEngine@Generate Line 562 Find error: 005B87C7
call stack - 15 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RequestPage Line 510 Find error: 005B86A7
call stack - 16 : Module ppReport.pas Routine
@Ppreport@TppReport@RequestPage Line 1931 Find error: 00615031
call stack - 17 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@DoOnPageRequest Line 1233 Find error: 006489F5
call stack - 18 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@Publish Line 1043 Find error: 006486E8
call stack - 19 : Module ppProd.pas Routine
@Ppprod@TppProducer@PublishReport Line 1354 Find error: 0063AB85
call stack - 20 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToDevices Line 1411 Find error: 0063AC34
call stack - 21 : Module ppReport.pas Routine
@Ppreport@TppReport@PrintToDevices Line 1892 Find error: 00614F11
call stack - 22 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToPrinter Line 1714 Find error: 0063B294
call stack - 23 : Module ppProd.pas Routine
@Ppprod@TppProducer@Print Line 1298 Find error: 0063AA58
call stack - 24 : Module ppReport.pas Routine
@Ppreport@TppReport@Print Line 1043 Find error: 00613D92
call stack - 25 : Module preview.pas Routine
@Preview@Tfrmpreview@pdf_erstellen Line 619 Find error: 0111C90F
call stack - 26 : Module preview.pas Routine
@Preview@printreport Line 552 Find error: 0111C3A2

Leak #4 Instance of TppPDFRendererText
Size: 36
1 Occurence
call stack - 0 : Module ppPDFRendererManager.pas Routine
@Pppdfrenderermanager@TppPDFRendererManager@GetRendererInstance Line
143 Find error: 0062C90A
call stack - 1 : Module ppPDFRendererManager.pas Routine
@Pppdfrenderermanager@TppPDFRendererManager@GetRendererForDrawCommand
Line 115 Find error: 0062C88F
call stack - 2 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@DrawToPage Line 426 Find error: 00633E43
call stack - 3 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@SavePageToFile Line 388 Find error: 00633CE3
call stack - 4 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@ReceivePage Line 342 Find error: 00633B7F
call stack - 5 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@TakeDeviceAction Line 931 Find error: 006484AE
call stack - 6 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@ReceivePage Line 1156 Find error: 0064881E
call stack - 7 : Module ppReport.pas Routine
@Ppreport@TppReport@PageSent Line 2009 Find error: 006151BE
call stack - 8 : Module ppClass.pas Routine
@Ppclass@TppCustomEngine@DoOnPageSent Line 9915 Find error: 00659507
call stack - 9 : Module ppEngine.pas Routine
@Ppengine@TppEngine@SendPage Line 1765 Find error: 005BA980
call stack - 10 : Module ppEngine.pas Routine
@Ppengine@TppEngine@FinishPage Line 1537 Find error: 005BA242
call stack - 11 : Module ppEngine.pas Routine
@Ppengine@TppEngine@GeneratePage Line 729 Find error: 005B8BFC
call stack - 12 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RestorePage Line 814 Find error: 005B8DBA
call stack - 13 : Module ppEngine.pas Routine
@Ppengine@TppEngine@Generate Line 562 Find error: 005B87C7
call stack - 14 : Module ppEngine.pas Routine
@Ppengine@TppEngine@RequestPage Line 510 Find error: 005B86A7
call stack - 15 : Module ppReport.pas Routine
@Ppreport@TppReport@RequestPage Line 1931 Find error: 00615031
call stack - 16 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@DoOnPageRequest Line 1233 Find error: 006489F5
call stack - 17 : Module ppDevice.pas Routine
@Ppdevice@TppPublisher@Publish Line 1043 Find error: 006486E8
call stack - 18 : Module ppProd.pas Routine
@Ppprod@TppProducer@PublishReport Line 1354 Find error: 0063AB85
call stack - 19 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToDevices Line 1411 Find error: 0063AC34
call stack - 20 : Module ppReport.pas Routine
@Ppreport@TppReport@PrintToDevices Line 1892 Find error: 00614F11
call stack - 21 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToPrinter Line 1714 Find error: 0063B294
call stack - 22 : Module ppProd.pas Routine
@Ppprod@TppProducer@Print Line 1298 Find error: 0063AA58
call stack - 23 : Module ppReport.pas Routine
@Ppreport@TppReport@Print Line 1043 Find error: 00613D92
call stack - 24 : Module preview.pas Routine
@Preview@Tfrmpreview@pdf_erstellen Line 619 Find error: 0111C90F
call stack - 25 : Module preview.pas Routine
@Preview@printreport Line 552 Find error: 0111C3A2
call stack - 26 : Module preview.pas(no debug info) Line 1096
Find error: 0111E0F9

Leak #5 Instance of TList
Size: 16
1 Occurence
call stack - 0 : Module ppPDFRendererManager.pas Routine
@Pppdfrenderermanager@TppPDFRendererManager@Create Line 61 Find error:
0062C7AA
call stack - 1 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@Create Line 181 Find error: 0063337F
call stack - 2 : Module ppProd.pas Routine
@Ppprod@TppProducer@CreateFileDevice Line 1739 Find error: 0063B3C9
call stack - 3 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToPrinter Line 1593 Find error: 0063AF7C
call stack - 4 : Module ppProd.pas Routine
@Ppprod@TppProducer@Print Line 1298 Find error: 0063AA58
call stack - 5 : Module ppReport.pas Routine
@Ppreport@TppReport@Print Line 1043 Find error: 00613D92
call stack - 6 : Module preview.pas Routine
@Preview@Tfrmpreview@pdf_erstellen Line 619 Find error: 0111C90F
call stack - 7 : Module preview.pas Routine
@Preview@printreport Line 552 Find error: 0111C3A2
call stack - 8 : Module preview.pas(no debug info) Line 1096
Find error: 0111E0F9
call stack - 9 : Module preview.pas(no debug info) Line 1176
Find error: 0111E7DB
call stack - 10 : Module preview.pas Routine
@Preview@repdrucken2_kud Line 1261 Find error: 0111EBD4
call stack - 11 : Module angdruck.pas(no debug info) Line 733
Find error: 00DF57BD
call stack - 12 : Module angdruck.pas Routine
@Angdruck@ang_drucken_intern Line 766 Find error: 00DF59BD
call stack - 13 : Module angdruck.pas Routine
@Angdruck@ang_drucken Line 787 Find error: 00DF5ABD
call stack - 14 : Module angframe_neu.pas Routine
@Angframe_neu@Tframeang_neu@drucken Line 3581 Find error: 00F19AEB
call stack - 15 : Module angframe_neu.pas Routine
@Angframe_neu@Tframeang_neu@actdruckenExecute Line 3607 Find error:
00F19C09
call stack - 16 : Module classes.pas Routine
@Classes@TBasicAction@Execute Line 10954 Find error: 00433214
call stack - 17 : Module ActnList.pas Routine
@Actnlist@TContainedAction@Execute Line 389 Find error: 00483E78
call stack - 18 : Module ActnList.pas Routine
@Actnlist@TCustomAction@Execute Line 1001 Find error: 004850E8
call stack - 19 : Module classes.pas Routine
@Classes@TBasicActionLink@Execute Line 10884 Find error: 00433012
call stack - 20 : Module Controls.pas Routine
@Controls@TControl@Click Line 4951 Find error: 00475003
call stack - 21 : Module Buttons.pas Routine
@Buttons@TSpeedButton@Click Line 1160 Find error: 004AF0A3
call stack - 22 : Module RzButton.pas Routine
@Rzbutton@TRzMenuToolbarButton@Click Line 3803 Find error: 00695936
call stack - 23 : Module Controls.pas Routine
@Controls@TControl@DoMouseUp Line 5079 Find error: 0047552A
call stack - 24 : Module Controls.pas Routine
@Controls@TControl@WMLButtonUp Line 5091 Find error: 004755BA
call stack - 25 : Module Controls.pas Routine
@Controls@TControl@WndProc Line 4893 Find error: 00474DF6
call stack - 26 : Module Controls.pas Routine
@Controls@TControl@Perform Line 4800 Find error: 00474AFD

Leak #6 Instance of TppPDFRendererManager
Size: 8
1 Occurence
call stack - 0 : Module ppPDFDevice.pas Routine
@Pppdfdevice@TppPDFDevice@Create Line 181 Find error: 0063337F
call stack - 1 : Module ppProd.pas Routine
@Ppprod@TppProducer@CreateFileDevice Line 1739 Find error: 0063B3C9
call stack - 2 : Module ppProd.pas Routine
@Ppprod@TppProducer@PrintToPrinter Line 1593 Find error: 0063AF7C
call stack - 3 : Module ppProd.pas Routine
@Ppprod@TppProducer@Print Line 1298 Find error: 0063AA58
call stack - 4 : Module ppReport.pas Routine
@Ppreport@TppReport@Print Line 1043 Find error: 00613D92
call stack - 5 : Module preview.pas Routine
@Preview@Tfrmpreview@pdf_erstellen Line 619 Find error: 0111C90F
call stack - 6 : Module preview.pas Routine
@Preview@printreport Line 552 Find error: 0111C3A2
call stack - 7 : Module preview.pas(no debug info) Line 1096
Find error: 0111E0F9
call stack - 8 : Module preview.pas(no debug info) Line 1176
Find error: 0111E7DB
call stack - 9 : Module preview.pas Routine
@Preview@repdrucken2_kud Line 1261 Find error: 0111EBD4
call stack - 10 : Module angdruck.pas(no debug info) Line 733
Find error: 00DF57BD
call stack - 11 : Module angdruck.pas Routine
@Angdruck@ang_drucken_intern Line 766 Find error: 00DF59BD
call stack - 12 : Module angdruck.pas Routine
@Angdruck@ang_drucken Line 787 Find error: 00DF5ABD
call stack - 13 : Module angframe_neu.pas Routine
@Angframe_neu@Tframeang_neu@drucken Line 3581 Find error: 00F19AEB
call stack - 14 : Module angframe_neu.pas Routine
@Angframe_neu@Tframeang_neu@actdruckenExecute Line 3607 Find error:
00F19C09
call stack - 15 : Module classes.pas Routine
@Classes@TBasicAction@Execute Line 10954 Find error: 00433214
call stack - 16 : Module ActnList.pas Routine
@Actnlist@TContainedAction@Execute Line 389 Find error: 00483E78
call stack - 17 : Module ActnList.pas Routine
@Actnlist@TCustomAction@Execute Line 1001 Find error: 004850E8
call stack - 18 : Module classes.pas Routine
@Classes@TBasicActionLink@Execute Line 10884 Find error: 00433012
call stack - 19 : Module Controls.pas Routine
@Controls@TControl@Click Line 4951 Find error: 00475003
call stack - 20 : Module Buttons.pas Routine
@Buttons@TSpeedButton@Click Line 1160 Find error: 004AF0A3
call stack - 21 : Module RzButton.pas Routine
@Rzbutton@TRzMenuToolbarButton@Click Line 3803 Find error: 00695936
call stack - 22 : Module Controls.pas Routine
@Controls@TControl@DoMouseUp Line 5079 Find error: 0047552A
call stack - 23 : Module Controls.pas Routine
@Controls@TControl@WMLButtonUp Line 5091 Find error: 004755BA
call stack - 24 : Module Controls.pas Routine
@Controls@TControl@WndProc Line 4893 Find error: 00474DF6
call stack - 25 : Module Controls.pas Routine
@Controls@TControl@Perform Line 4800 Find error: 00474AFD
call stack - 26 : Module Controls.pas Routine
@Controls@TWinControl@IsControlMouseMsg Line 6614 Find error: 00478CEF

Leak #7 Instance of TIniFile
Size: 8
1 Occurence
call stack - 0 : Module repmskdruck.pas Routine
@Repmskdruck@treportliste@inispeichern Line 438 Find error: 01119F9F
call stack - 1 : Module repmskdruck.pas Routine
@Repmskdruck@Tfrmrepmskdruck@btndefaultClick Line 658 Find error:
0111AD0E
call stack - 2 : Module Controls.pas Routine
@Controls@TControl@Click Line 4953 Find error: 00475024
call stack - 3 : Module StdCtrls.pas Routine
@Stdctrls@TButton@Click Line 3558 Find error: 004582F2
call stack - 4 : Module Buttons.pas Routine
@Buttons@TBitBtn@Click Line 1507 Find error: 004AFB7B
call stack - 5 : Module StdCtrls.pas Routine
@Stdctrls@TButton@CNCommand Line 3610 Find error: 0045845B
call stack - 6 : Module Controls.pas Routine
@Controls@TControl@WndProc Line 4893 Find error: 00474DF6
call stack - 7 : Module Controls.pas Routine
@Controls@TWinControl@WndProc Line 6673 Find error: 00478F54
call stack - 8 : Module StdCtrls.pas Routine
@Stdctrls@TButtonControl@WndProc Line 3497 Find error: 0045811F
call stack - 9 : Module Controls.pas Routine
@Controls@TControl@Perform Line 4800 Find error: 00474AFD
call stack - 10 : Module Controls.pas Routine
@Controls@DoControlMsg Line 6719 Find error: 00479119
call stack - 11 : Module Controls.pas Routine
@Controls@TWinControl@WMCommand Line 6914 Find error: 0047995E
call stack - 12 : Module Controls.pas Routine
@Controls@TControl@WndProc Line 4893 Find error: 00474DF6
call stack - 13 : Module Controls.pas Routine
@Controls@TWinControl@WndProc Line 6673 Find error: 00478F54
call stack - 14 : Module Controls.pas Routine
@Controls@TWinControl@MainWndProc Line 6505 Find error: 00478893
call stack - 15 : Module classes.pas Routine
@Classes@StdWndProc Line 11455 Find error: 0043416E
call stack - 16 : (no debug info) Find error: 77D18730
call stack - 17 : (no debug info) Find error: 77D18812
call stack - 18 : (no debug info) Find error: 77D1B897
call stack - 19 : (no debug info) Find error: 77D1B8FF
call stack - 20 : (no debug info) Find error: 77D4FC79
call stack - 21 : (no debug info) Find error: 77D464E4
call stack - 22 : (no debug info) Find error: 77D277DA
call stack - 23 : (no debug info) Find error: 77D3B056
call stack - 24 : (no debug info) Find error: 77D18730
call stack - 25 : (no debug info) Find error: 77D18812
call stack - 26 : (no debug info) Find error: 77D1C63B

*** MEMCHK: End of allocated blocks ***


*** MEMCHK: Chronological leak information ***

* Instance of TIniFile (Leak #7) Size: 8
* Instance of TppPDFRendererManager (Leak #6) Size: 8
* Instance of TList (Leak #5) Size: 16
* Instance of TppPDFRendererText (Leak #4) Size: 36
* Instance of TList (Leak #3) Size: 16
* User allocated memory (GetMem) (Leak #2) Size: 16
* Instance of TppPDFRendererStandardText (Leak #0) Size: 136
* User allocated memory (GetMem) (Leak #1) Size: 16
* Instance of TppPDFRendererStandardText (Leak #0) Size: 136

*** MEMCHK: End of chronological leak information ***


*** MEMCHK: Blocks written to after destruction ***

Bad blocks count: 0


*** MEMCHK: End of blocks written to after destruction ***

Comments

This discussion has been closed.