[reportlab-users] memory leak in reportlab xmllib.FastXMLParser

Robin Becker robin at reportlab.com
Tue Dec 17 12:53:38 EST 2013


I find this fixes the issue


> diff -r d7705185366c src/reportlab/lib/xmllib.py

> --- a/src/reportlab/lib/xmllib.py Tue Dec 17 13:58:46 2013 +0000

> +++ b/src/reportlab/lib/xmllib.py Tue Dec 17 17:52:50 2013 +0000

> @@ -524,6 +524,8 @@

> try:

> self.parser.close()

> finally:

> + self.feed = None

> + del self.parser

> self.parser = None

>

> # Interface -- translate references


I will check this in the trunk code tomorrow


On 17/12/2013 17:35, Mirko Dziadzka wrote:

>

...........

--
Robin Becker


More information about the reportlab-users mailing list