Re: session memory leaks
| From: | (Marcus Börger) | Date: | Tue, 20 Aug 2002 14:49:03 +0000 |
| Subject: | Re: session memory leaks | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87159@lists.php.net to get a copy of this message | ||
Ah again a problem with $_SESSION And some session_() functions.
Maybe it would be a good idea to allow using both. AND it would be a
good thing to have $_SESSION beeing an available array even if no
session was started already.
marcus
At 14:04 20.08.2002, Marcus Boerger wrote:
I just checked out a fresh copy of php4 with zend1.3 but unfortuanetly the errors i had in php4/zend2 + changes are there too. As i do not understand why there are memory leaks i hope someone can help. /usr/src/php4/ext/session/session.c(568) : Freeing 0x40922D30 (16 bytes), script=/var/www/html/empty.php Last leak repeated 2 times /usr/src/php4/ext/session/session.c(1213) : Freeing 0x40912AC0 (16 bytes), script=/var/www/html/empty.php Last leak repeated 1 time /usr/src/php4/ext/session/session.c(420) : Freeing 0x40927D40 (16 bytes), script=/var/www/html/empty.php Last leak repeated 2 times those leaks only occur when using php function session_register(). i looked into it but do not understand how and why the variables are freed and why that does not work correct. regards marcus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php