|
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] [email protected]
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: dmitry
[2012-06-25 08:12 UTC] [email protected]
[2015-07-07 12:42 UTC] [email protected]
[2015-07-07 12:42 UTC] [email protected]
-Status: Assigned
+Status: Closed
[2015-07-07 23:36 UTC] [email protected]
[2015-07-10 01:58 UTC] [email protected]
-Status: Closed
+Status: Re-Opened
[2015-07-10 01:58 UTC] [email protected]
[2015-07-10 10:31 UTC] [email protected]
[2015-07-10 10:31 UTC] [email protected]
-Status: Re-Opened
+Status: Closed
[2015-07-10 11:04 UTC] [email protected]
-Status: Closed
+Status: Re-Opened
[2015-11-13 12:38 UTC] [email protected]
-Status: Re-Opened
+Status: Closed
[2015-11-13 12:38 UTC] [email protected]
[2016-07-20 11:38 UTC] [email protected]
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Mar 17 11:00:01 2026 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.