Memory leak in PDF export

EiAEiA
edited October 2013 in FastReport 4.0
I have installed the new version of Fastreport v4.15 for XE3 and am now experiencing memory leaks in the PDF export module.
Looks like it's only happening if you have EmbeddedFonts = True.

Snip form FastMM eventlog (one of many leaks):
--------------------------------2013/10/6 20:12:58--------------------------------
A memory block has been leaked. The size is: 20

This block was allocated by thread 0x159C, and the stack trace (return addresses) at the time was:
4068F6 
4084FF 
408C16 
4085EC 
8C0605 [frxGlyphTableClass.pas][frxGlyphTableClass][frxGlyphTableClass.GlyphTableClass.GetGlyphHeader][306]
8C04B3 [frxGlyphTableClass.pas][frxGlyphTableClass][frxGlyphTableClass.GlyphTableClass.CheckGlyph][83]
8C15B8 [frxIndexToLocationClass.pas][frxIndexToLocationClass][frxIndexToLocationClass.IndexToLocationClass.GetGlyph][34]
8C5CFA [frxTrueTypeFont.pas][frxTrueTypeFont][frxTrueTypeFont.TrueTypeFont.BuildGlyphIndexList][144]
406912 
4AECD4 [madExcept][madExcept][madExcept.InterceptClassDestroy]
8C7067 [frxTrueTypeFont.pas][frxTrueTypeFont][frxTrueTypeFont.TrueTypeFont.ReorderGlyphTable][669]

The block is currently used for an object of class: TList

The allocation number is: 3570056

Current memory dump of 256 bytes starting at pointer address 7CB2DCB0:
E8 55 50 00 08 58 3C 7D 02 00 00 00 04 00 00 00 00 00 00 00 15 D0 8A 7E 00 00 00 00 10 DC B2 7C
00 00 00 00 00 00 00 00 D4 80 41 00 00 00 00 00 8A 79 36 00 F6 68 40 00 FF 84 40 00 16 8C 40 00
EC 85 40 00 51 6F 52 00 B3 04 8C 00 B8 15 8C 00 FA 5C 8C 00 12 69 40 00 D4 EC 4A 00 67 70 8C 00
9C 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 D8 99 3B 81
E8 55 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 27 66 C4 7E 00 00 00 00 10 DC B2 7C
00 00 00 00 00 00 00 00 D4 80 41 00 00 00 00 00 8B 79 36 00 F6 68 40 00 FF 84 40 00 16 8C 40 00
EC 85 40 00 05 06 8C 00 B3 04 8C 00 03 00 58 00 B8 15 8C 00 FA 5C 8C 00 12 69 40 00 D4 EC 4A 00
??  U  P  .  .  X  <  }  .  .  .  .  .  .  .  .  .  .  .  .  .  ??  ??? Â Â ~  .  .  .  .  .  ??  ??  |
.  .  .  .  .  .  .  .  ??  ??????¬???¬Â Â A  .  .  .  .  .  ??? Â Â y  6  .  ?¶Â Â h  @  .  ??  ????????¬????  @  .  .  ??????¬???  @  .
?¬Â Â ????????¬?¦Â Â @  .  Q  o  R  .  ??  .  ??????¬???  .  ??  .  ??????¬???  .  ??  \  ??????¬???  .  .  i  @  .  ??  ?¬Â Â J  .  g  p  ??????¬???  .
??????¬??  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  ??  ??????¬????;  ??
??  U  P  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  '  f  ??  ~  .  .  .  .  .  ??  ??  |
.  .  .  .  .  .  .  .  ??  ??????¬???¬Â Â A  .  .  .  .  .  ????????¬??  y  6  .  ?¶Â Â h  @  .  ??  ????????¬????  @  .  .  ??????¬???  @  .
?¬Â Â ????????¬?¦Â Â @  .  .  .  ??????¬???  .  ??  .  ??????¬???  .  .  .  X  .  ??  .  ??????¬???  .  ??  \  ??????¬???  .  .  i  @  .  ??  ?¬Â Â J  .

Anybody else experience this?
Would be nice to confirm it before I post a ticket.

Regards
Eirik A.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.