Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13948 invoked from network); 28 Jul 2003 17:45:07 -0000 Received: from unknown (HELO asuka.nerv) (24.112.18.98) by pb1.pair.com with SMTP; 28 Jul 2003 17:45:07 -0000 Received: (qmail 14820 invoked from network); 28 Jul 2003 17:58:32 -0000 Received: from rei.nerv (HELO dummy.com) (rei@192.168.1.1) by asuka.nerv with SMTP; 28 Jul 2003 17:58:32 -0000 Reply-To: ilia@prohost.org To: "Pete Dishman" , internals@lists.php.net Date: Mon, 28 Jul 2003 13:57:03 -0400 User-Agent: KMail/1.5 References: <20030728144915.48552.qmail@pb1.pair.com> In-Reply-To: <20030728144915.48552.qmail@pb1.pair.com> Organization: Prohost.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200307281357.03571.ilia@prohost.org> Subject: Re: [PHP-DEV] Mem leak in virtual_realpath() in tsrm_virtual_cwd.c From: ilia@prohost.org (Ilia Alshanetsky) On July 28, 2003 10:48 am, Pete Dishman wrote: > Hi, > > I'm currently developing an extension and believe I've found a memory leak > in virtual_realpath(). My extension is calling this function via the macro > VCWD_REALPATH(). You are quite correct, virtual_realpath does indeed appear to leak. I will test the patch you've suggested further and if it does not prove to have any side effects commit it. Ilia