|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-03 14:20 UTC] felipe@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: dmitry
[2012-06-25 08:12 UTC] dmitry@php.net
[2015-07-07 12:42 UTC] dmitry@php.net
[2015-07-07 12:42 UTC] dmitry@php.net
-Status: Assigned
+Status: Closed
[2015-07-07 23:36 UTC] ab@php.net
[2015-07-10 01:58 UTC] dmitry@php.net
-Status: Closed
+Status: Re-Opened
[2015-07-10 01:58 UTC] dmitry@php.net
[2015-07-10 10:31 UTC] ab@php.net
[2015-07-10 10:31 UTC] ab@php.net
-Status: Re-Opened
+Status: Closed
[2015-07-10 11:04 UTC] dmitry@php.net
-Status: Closed
+Status: Re-Opened
[2015-11-13 12:38 UTC] dmitry@php.net
-Status: Re-Opened
+Status: Closed
[2015-11-13 12:38 UTC] dmitry@php.net
[2016-07-20 11:38 UTC] davey@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ The script <?php function throwException() { throw new Exception } function doSomething() { [] + throwException(); } try { doSomething(); } catch (Exception $e) { } leaks /home/nikic/dev/php-src/Zend/zend_vm_execute.h(25625) : Freeing 0xB77ABA44 (44 bytes), script=- /home/nikic/dev/php-src/Zend/zend_API.c(982) : Actual location (location was relayed) === Total 1 memory leaks detected === This generally always happens whenever an exception is thrown while evaluation an expression which contains (non-scalar) temporary variables. In the above case the array hash table is leaked. The reason is that the FREE opcode for the temporary variable is never executed due to the exception. Exceptions only free temporary loop variables.