Memory leak per request in apache2filter PHP+ZTS
| From: | Kamesh Jayachandran | Date: | Tue, 30 Nov 2004 07:56:13 +0000 |
| Subject: | Memory leak per request in apache2filter PHP+ZTS | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-13959@lists.php.net to get a copy of this message | ||
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