Re: Memory leak per request in apache2filter PHP+ZTS(reposting third time)

From: Date: Mon, 06 Dec 2004 13:14:35 +0000
Subject: Re: Memory leak per request in apache2filter PHP+ZTS(reposting third time)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-14007@lists.php.net to get a copy of this message
Can Someone respond to this? With regards Kamesh Jayachandran On Thu, 02 Dec 2004 06:27:32 -0800, "Kamesh Jayachandran" <kameshj@fastmail.fm> said: > 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 > >

« previous php.internals (#14007) next »