Edit report at https://bugs.php.net/bug.php?id=62930&edit=1
ID: 62930 Updated by: larue...@php.net Reported by: fel...@php.net Summary: Memory leak when using empty list() -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: master-Git-2012-08-25 (Git) Assigned To: laruence Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. 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/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-08-26 05:06:12] larue...@php.net Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src.git;a=commit;h=5ebbdecfeaaea1bc78450a2bb6d5ee280bf18dbd Log: Fixed bug #62930, and more tests ------------------------------------------------------------------------ [2012-08-26 04:35:50] larue...@php.net hmm, never test with such situation before, need sometime to dig. thanks ------------------------------------------------------------------------ [2012-08-25 21:01:40] fel...@php.net Description: ------------ See below. Test script: --------------- <?php foreach ([1] as list()) { } Actual result: -------------- [Sat Aug 25 17:55:53 2012] Script: '/home/felipe/dev/bug.php' /home/felipe/dev/php-src/Zend/zend_vm_execute.h(5854) : Freeing 0x7F611045A1F8 (32 bytes), script=/home/felipe/dev/bug.php === Total 1 memory leaks detected === ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62930&edit=1