#47109 [Asn->Csd]: Memory leak on $a->{"a"."b"} when $a is not an object
| From: | dmitry@php.net | Date: | Thu, 15 Jan 2009 08:49:31 +0000 |
| Subject: | #47109 [Asn->Csd]: Memory leak on $a->{"a"."b"} when $a is not an object | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132884@lists.php.net to get a copy of this message | ||
ID: 47109
Updated by: dmitry@php.net
Reported By: dmitry at zedn dot com
-Status: Assigned
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: *
PHP Version: 5.2.8
Assigned To: dmitry
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2009-01-15 08:37:54] dmitry at zedn dot com
Description:
------------
The following code produse a memory leak
Reproduce code:
---------------
<?php
$a->{'a'.'b'};
?>
Expected result:
----------------
Notice: Undefined variable: a
Notice: Trying to get property of non-object
Actual result:
--------------
Notice: Undefined variable: a
Notice: Trying to get property of non-object
[Thu Jan 15 11:36:45 2009] Script: '-'
/home/dmitry/php/php5.3/Zend/zend_operators.c(1269) : Freeing
0x0AA20F64 (3 bytes), script=-
=== Total 1 memory leaks detected ===
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47109&edit=1