Mem Leak in Tidy, ZE2 Bug?
| From: | Christian Stocker | Date: | Tue, 08 Jun 2004 10:31:54 +0000 |
| Subject: | Mem Leak in Tidy, ZE2 Bug? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-10310@lists.php.net to get a copy of this message | ||
Hi
I'm not sure, who to blame about this one, but I run against a memory leak if I run the following code:
***
$html = "foo";
$options = array("char-encoding" => "utf8");
$tidy = new tidy();
$tidy->parseString($html,$options,$options['char-encoding']);
print $tidy;
***
If the 3rd param is not part of the array of the second param, there's no memleak..
Any ideas, what's going wrong here?
If it's tidy, I'll file a bug report, if it's ZE2, it's maybe something to be fixed before 5.0.0 ;)
chregu
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB