Memory leak

From: Date: Tue, 23 May 2000 18:51:47 +0000
Subject: Memory leak
Groups: php.dev 
Request: Send a blank email to php-dev+get-19301@lists.php.net to get a copy of this message
<? $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... *

« previous php.dev (#19301) next »