Date: 05/23/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] Memory leak"
- Previous message: Rasmus Lerdorf: "[PHP-DEV] Fw: Some fixes to PHP-4.0RC2 (fwd)"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Memory leak"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Memory leak"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<?
$a = array(1, 2);
$a[] = &$a;
?>
./zend_execute.c(413) : Freeing 0x001BDD38 (16 bytes), script=./test.php
./zend_execute.c(1944) : Freeing 0x00195A68 (48 bytes), script=./test.php
zend_API.c(189) : Actual location (location was relayed)
zend_hash.c(391) : Freeing 0x00190AC8 (35 bytes), script=./test.php
Last leak repeated 1 time
zend_hash.c(185) : Freeing 0x0018B660 (20 bytes), script=./test.php
Probably need some code to prevent self-referential structures like
that.
-Andrei
* Only 19,999 lines of C++ to my next ski trip... *
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] Memory leak"
- Previous message: Rasmus Lerdorf: "[PHP-DEV] Fw: Some fixes to PHP-4.0RC2 (fwd)"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] Memory leak"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Memory leak"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

