Fix being submitted as I type.
Thanks for the good reproducing script.
Andi
At 01:29 PM 2/10/2004 +0100, Pierre-Alain Joye wrote:
Hello,
Maybe this usage is wrong but it should not leak:
Text1
EOF;
$sxe = simplexml_load_string($xml);
$sxe->attributes;
?>
# php5 sxe_leak.php
/home/
Hello,
Maybe this usage is wrong but it should not leak:
Text1
EOF;
$sxe = simplexml_load_string($xml);
$sxe->attributes;
?>
# php5 sxe_leak.php
/home/paj/cvs/builds/php5/ext/simplexml/simplexml.c(187) : Freeing
0x408DE780 (16 bytes), script=sxe_leak.php=== Total 1 memory leaks
d