session memory leaks
| From: | (Marcus Boerger) | Date: | Tue, 20 Aug 2002 12:04:35 +0000 |
| Subject: | session memory leaks | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87142@lists.php.net to get a copy of this message | ||
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