Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10310 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68821 invoked by uid 1010); 8 Jun 2004 10:31:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68759 invoked from network); 8 Jun 2004 10:31:56 -0000 Received: from unknown (HELO devel.bitflux.ch) (212.71.98.108) by pb1.pair.com with SMTP; 8 Jun 2004 10:31:56 -0000 Received: from localhost (localhost [127.0.0.1]) by devel.bitflux.ch (Postfix) with ESMTP id 6BB1781588 for ; Tue, 8 Jun 2004 12:31:55 +0200 (CEST) Received: from devel.bitflux.ch ([127.0.0.1]) by localhost (devel.bitflux.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16944-01-8 for ; Tue, 8 Jun 2004 12:31:54 +0200 (CEST) Received: from [192.168.0.100] (bx-109.bitflux.ch [212.71.98.109]) by devel.bitflux.ch (Postfix) with ESMTP id 4477A81580 for ; Tue, 8 Jun 2004 12:31:54 +0200 (CEST) Message-ID: <40C5959A.2010600@bitflux.ch> Date: Tue, 08 Jun 2004 12:31:54 +0200 User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at bitflux.ch Subject: Mem Leak in Tidy, ZE2 Bug? From: chregu@bitflux.ch (Christian Stocker) 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