Memory leak per request in apache2filter PHP+ZTS

php.internals

Kamesh Jayachandran

21 years ago
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

Kamesh Jayachandran

21 years ago
Can Someone respond to this? With regards Kamesh Jayachandran On Mon, 29 Nov 2004 23:56:13 -0800, "Kamesh Jayachandran" <kameshj@fastmail.fm> said:

Kamesh Jayachandran

21 years ago
Can Someone respond to this? With regards Kamesh Jayachandran On Thu, 02 Dec 2004 06:27:32 -0800, "Kamesh Jayachandran" <kameshj@fastmail.fm> said: