Zend & mem leaks debug information

From: Date: Thu, 20 Jan 2000 13:09:42 +0000
Subject: Zend & mem leaks debug information
Groups: php.version4 
Request: Send a blank email to php-version4+get-9316@lists.php.net to get a copy of this message
Hello, I've found several problems with Zend regarding memory leaks in some scripts of our website, and after narrowing down the problem, i've discovered the following : This is the source that generates the errors: if($loginOK==1) { $refURI=urldecode($refURI); echo "<br><font face=\"verdana,lucida,helvetica,arial\" size=\"3\"><b>Welkom ".$authrow[authorName]."</b><p>"; echo "<font size=\"2\">U bent nu ingelogt. Klik op de pijl om verder te gaan.</font>\n"; echo "<br><br><br><center><a href=\"".$refURI."\"><img src=\"/images/right1.jpg\" border=\"0\" alt=\"Verder\"></a></center>\n"; } This generates the following error: ./zend_execute.c(1527) : Freeing 0x081CF990 (12 bytes), script=/www/tekoop/edit/login.php url.c(302) : Freeing 0x081FFB70 (7 bytes), script=/www/tekoop/edit/login.php zend_variables.c(126) : Actual location (location was relayed) And if i comment out the $refURI=urldecode($refURI); part, the error is eliminated. Maybe this helps in tackling the memory leaks. I've got more leaks in other scripts. I f i find out what causes the problem i will post it here if needed... Greets, Hans Rakers, the Netherlands

« previous php.version4 (#9316) next »