As of now, 2003/1/29, there is a memory leak in
xmlparse.c::doProlog() line 3979.
The XML_Content is dynamically allocated, but never
freed in the block. The lifetime of the variable
content is not clear. It is passed to
elementDeclHandler(). Does content need to be dynamic,
or can it be a local (stack) variable? Does
elementDeclHandler() take ownership of content?
I can make the change in Python (which is where this
problem was found from test_minidom).
20 bytes in 1 blocks are definitely lost in loss record
2 of 15
at 0x4015D480: malloc (vg_clientfuncs.c:100)
Log in to post a comment.