ID:               42818
 Updated by:       [EMAIL PROTECTED]
 Reported By:      crrodriguez at suse dot de
-Status:           Open
+Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: Linux
 PHP Version:      5CVS-2007-10-01 (CVS)
-Assigned To:      
+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:
------------------------------------------------------------------------

[2007-10-01 18:12:38] crrodriguez at suse dot de

Description:
------------
memory leak with the following code


Reproduce code:
---------------
<?php $foo = clone(array()); ?>


Expected result:
----------------
Fatal Error: Only objects can be cloned

Actual result:
--------------
Warning: __clone method called on non-object in
/home/cristian/5.3/clone_test.php on line 3
[Mon Oct  1 14:11:13 2007]  Script:  'clone_test.php'
/home/cristian/5.3/Zend/zend_vm_execute.h(18768) :  Freeing 0x00C3D9A0
(72 bytes), script=clone_test.php
/home/cristian/5.3/Zend/zend_API.c(821) : Actual location (location was
relayed)
Last leak repeated 1 time
=== Total 2 memory leaks detected ===



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42818&edit=1

Reply via email to