Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13982 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10612 invoked by uid 1010); 2 Dec 2004 14:27:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10490 invoked from network); 2 Dec 2004 14:27:38 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 2 Dec 2004 14:27:38 -0000 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id 7C5C4C3DD9E; Thu, 2 Dec 2004 09:27:37 -0500 (EST) Received: by web2.messagingengine.com (Postfix, from userid 99) id E52C7448; Thu, 2 Dec 2004 09:27:32 -0500 (EST) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) References: <1101801373.15242.209719725@webmail.messagingengine.com> In-Reply-To: <1101801373.15242.209719725@webmail.messagingengine.com> To: "Kamesh Jayachandran" , internals@lists.php.net, stas@php.net, zeev@php.net, andi@php.net Date: Thu, 02 Dec 2004 06:27:32 -0800 X-Sasl-Enc: toJe930k9S5srBkIZsxIzA 1101997652 Message-ID: <1101997652.21408.209920452@webmail.messagingengine.com> Subject: Re: [PHP-DEV] Memory leak per request in apache2filter PHP+ZTS From: kameshj@fastmail.fm ("Kamesh Jayachandran") Can Someone respond to this? With regards Kamesh Jayachandran On Mon, 29 Nov 2004 23:56:13 -0800, "Kamesh Jayachandran" said: > Hi All, > I could see a leak of 60 bytes for the following script. > //echo "hi"; > ?> > While investigation I found that > SG(request_info).path_translated = safe_strdup(f->r->filename); > //in sapi/apache2filter/sapi_apache2.c:php_apache_request_ctor > is not getting freed. > > Can I free the same in php_apache_request_dtor? > > I could see the above safe_strdup in sapi_apache2.c,v 1.108 on > 2003/04/10 11:28:54 by stas. > > With regards > Kamesh Jayachandran > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >