Re: Memory leak per request in apache2filter PHP+ZTS
| From: | Kamesh Jayachandran | Date: | Thu, 02 Dec 2004 14:27:32 +0000 |
| Subject: | Re: Memory leak per request in apache2filter PHP+ZTS | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13982@lists.php.net to get a copy of this message | ||
Can Someone respond to this?
With regards
Kamesh Jayachandran
On Mon, 29 Nov 2004 23:56:13 -0800, "Kamesh Jayachandran"
<kameshj@fastmail.fm> said:
> Hi All,
> I could see a leak of 60 bytes for the following script.
> <?php
> //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
>