ID: 11304
Updated by: joey
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: DOM XML related
Operating System: RHat 6.2
PHP Version: 4.0.5
New Comment:

This is great. Do you have a test case for this bug?

Previous Comments:
------------------------------------------------------------------------

[2001-06-06 02:18:52] [EMAIL PROTECTED]

This (I think) is a new bug with libxml2.so (libxml2-2.3.9-1)

------------------------------------------------------------------------

[2001-06-06 02:15:56] [EMAIL PROTECTED]

php_domxml.c, line #698

The pointer (content) from xmlNodeGetContent(last); needs to be freed.  There's still 
another memory leak in domxml but it leaks much slower now.  To my version of the file 
I added:

if (content) {
    add_property_stringl(child, "content", (char *) content, strlen(content), 1);
    free(content);
}

directly beneath it.


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=11304&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to