[XML-SIG] Pyexpat memory leak

Kamel Hamard (LMC) kamel.hamard at ericsson.com
Sun Jul 20 12:32:34 EDT 2003

Hi Jeremy,

The script is not leaking on python 2.2.2 but when I use my complete application creating doms like I'm doing in the script, I see a small leak. 

Why I dont see the leak in the script and I see it in the application ? Its strange. Its a pure python program.

Its as you said, python 2.2.2 is leaking.

I can not use python 2.3 because its not yet packaged by activestate for the moment.



-----Original Message-----
From: Jeremy Kloth [mailto:jeremy.kloth at fourthought.com]
Sent: Friday, July 18, 2003 7:38 PM
To: xml-sig at python.org
Subject: [XML-SIG] Pyexpat memory leak

I've checked in fixes for pyexpat which solve a refcount issue when passing
an instance to ParseFile.  The readmethod wasn't being decref'ed before exit
of that function.

Jeremy Kloth
Fourthought, Inc.

XML-SIG maillist  -  XML-SIG at python.org

More information about the XML-SIG mailing list