kooloveme / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Memory leak when printing/print previewing #313

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
1. Print or print preview a document with a floated element (example attached)

What is the expected output? What do you see instead?
No memory leaks. Memory leaks.

Which version of the product are you using? Which compiler version are you
using? On which operating system?
r443

Please attach test html files and screenshots, if appropriate.
Please provide any additional information:

There appears to be a memory leak (TIndentManager) when printing (or 
previewing) a document with a floated or positioned (absolute or fixed) element.

Seems to be caused by a differences in handling MyIMgr & MyCell.IMgr in 
TBlock.Create and TBlock.CreateCopy

Example HTML file and patch provided.

Original issue reported on code.google.com by wildcrof...@gmail.com on 24 Oct 2013 at 8:58

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for fixing this issue!

r445 applies your patch.

Original comment by OrphanCat on 16 Nov 2013 at 1:38