Re: Mem leak in virtual_realpath() in tsrm_virtual_cwd.c
| From: | Ilia Alshanetsky | Date: | Mon, 28 Jul 2003 17:57:03 +0000 |
| Subject: | Re: Mem leak in virtual_realpath() in tsrm_virtual_cwd.c | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3619@lists.php.net to get a copy of this message | ||
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