Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29143 invoked by uid 1010); 30 Nov 2004 07:56:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27392 invoked from network); 30 Nov 2004 07:56:15 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 30 Nov 2004 07:56:15 -0000 Received: from web2.messagingengine.com (web2.internal [10.202.2.211]) by frontend1.messagingengine.com (Postfix) with ESMTP id DD21FC3CEB8; Tue, 30 Nov 2004 02:56:14 -0500 (EST) Received: by web2.messagingengine.com (Postfix, from userid 99) id 7367CCBD; Tue, 30 Nov 2004 02:56:13 -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) To: internals@lists.php.net, stas@php.net Date: Mon, 29 Nov 2004 23:56:13 -0800 X-Sasl-Enc: 1gyvddgAHgDTjBQWRX9z9A 1101801373 Message-ID: <1101801373.15242.209719725@webmail.messagingengine.com> Subject: Memory leak per request in apache2filter PHP+ZTS From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi All, I could see a leak of 60 bytes for the following script. 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