Memory Leak in Zend: Test case and leak
| From: | Joey Smith | Date: | Mon, 26 Jun 2000 10:22:19 +0000 |
| Subject: | Memory Leak in Zend: Test case and leak | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22336@lists.php.net to get a copy of this message | ||
Don't really have access to bugs.php.net where I am,
so I'm posting it here...will try to get it up on
bugs.php.net later.
I realize that this script shouldn't do anything, but
it shouldn't leak memory, right?
Short desc:
class Foo
var Bar: Hold copy of class Bar
var foo: Tries to get a reference to
return value of $this->Bar->leak()
class Bar
function leak() returns non-initialized variable $var
Leak occurs as soon as I try to instance Foo().
--
Joey Smith