ID: 11304 Comment by: machine-fart1603 at hotmail dot com Reported By: tgagne at efinnet dot com Status: Closed Bug Type: DOM XML related Operating System: RHat 6.2 PHP Version: 4.0.5 New Comment:
<a href=http://an-unordinary-kiss.da.ru>machine fart</a> Previous Comments: ------------------------------------------------------------------------ [2001-08-20 10:40:27] [EMAIL PROTECTED] No feedback. Reopen if you still have this problem with PHP 4.0.7 (soon to be released) or with latest CVS snapshot from http://snaps.php.net/ Side note: The libxml version required now is libxml2-2.4.2 --Jani ------------------------------------------------------------------------ [2001-07-17 10:49:21] [EMAIL PROTECTED] This is great. Do you have a test case for this bug? ------------------------------------------------------------------------ [2001-06-06 02:18:52] tgagne at efinnet dot com This (I think) is a new bug with libxml2.so (libxml2-2.3.9-1) ------------------------------------------------------------------------ [2001-06-06 02:15:56] tgagne at efinnet dot com 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
